Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

Firefox / Javascript Issue within Widgets

  • 3 balas
  • 0 memiliki masalah ini
  • 9 kunjungan
  • Balasan terakhir oleh Morbus

more options

I am a web developer and only Firefox has this issue. Where by using jQuery (iNettuts widgets) and placing a JavaScript calling for an advert from an ad server Firefox clears the page (white bg) and only displays the advert multiple times. Following error thinks there is an issue with my JS script but where it insists the issue is doesn't have any relevance to the advert displaying. I have uploaded the demo onto a folder on our server for you to see. Issue that firebug picks up is "uncaught exception: [Exception... "'[JavaScript Error: "$(clonedWidget).attr("class") is undefined" ]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "native frame ::  ::  :: line 0" data: yes]" and as I said only firefox has this issue. please advise.

URL of affected sites

http://www.aadula.com/test2/index.php

I am a web developer and only Firefox has this issue. Where by using jQuery (iNettuts widgets) and placing a JavaScript calling for an advert from an ad server Firefox clears the page (white bg) and only displays the advert multiple times. Following error thinks there is an issue with my JS script but where it insists the issue is doesn't have any relevance to the advert displaying. I have uploaded the demo onto a folder on our server for you to see. Issue that firebug picks up is "uncaught exception: [Exception... "'[JavaScript Error: "$(clonedWidget).attr("class") is undefined" ]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "native frame :: :: :: line 0" data: yes]" and as I said only firefox has this issue. please advise. == URL of affected sites == http://www.aadula.com/test2/index.php

Semua Balasan (3)

more options

Hello Colin.

You may be hard pressed to get a proper answer here (since there are so many people with issues and so few volunteers), and I'm far from the best person to help you with this, since I lack knowledge in this area, but have you tried the w3c javascript validator (or something) to see if your script is or isn't standard compliant?

more options

I've used an online validation tool but with it being jQuery and not JS you cant say which library is being used and with around 3000 lines to go through its fairly inconclusive. however as other browsers are not having the same issue then it limits down to only one denominator and that is how firefox handles JQuery and JS. Is there a better place to submit this post?

Thanks,

more options

Oh think I see what you mean... Sorry about that confusion too.

As for a better place to talk about this, I would think mozillaZine to be good enough. Or Bugzilla, if you have technical details and want to search for an open bug or file a new one. The Google Groups of Mozilla are also frequently populated with important developers, so you may want to try there, but please, be as technical as possible.

I'm sorry for not being of more help.