Firefox exception ‘JavaScript component does not have a method named: “available”’

“[Exception… \”‘JavaScript component does not have a method named: \”available\”‘ when calling method: [nsIInputStream::available]\”  nsresult: \”0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)\”  location: \”JS frame :: https://localhost/vendor/jam/jquery/jquery.js :: .send :: line 2\”  data: no]”

Solution: http://stackoverflow.com/a/15844406

Convert object to string JSON.stringify(formData)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s