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 > -- David Rajchenbach-Teller, PhD Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform