On 7/16/14, 2:40 AM, David Rajchenbach-Teller wrote: > Hi, > > Generally, using jQuery in XUL files is not supported. Some of jQuery > might work accidentally, but it is designed specifically to work with > HTML, not XUL. If you want to write HTML-based add-ons, you should take > a look at Jetpack. > > Cheers, > David > > On 16/07/14 05:38, 王欢 wrote: >> Dear, >> When I wanted to use jquery in XUL files, the event was not responded. >> For example, codes like "$("selectorName").hide(500);"has no action. If you >> provide me some documents related, I will be very appreciate. >> Thanks very much. >> >> >> Best regards, >> Huan Wang >> >> _______________________________________________ >> dev-platform mailing list >> dev-platform@lists.mozilla.org >> https://lists.mozilla.org/listinfo/dev-platform >> > >
Many add-ons do use jquery, so it's not impossible to do. I suggest that this discussion is taken to dev.extensions, #extdev on IRC or the add-ons forum: http://forums.mozilla.org/addons/ Regards, Jorge _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform