… if you use Firefox and client-side XSLT transformations. This is the scenario:
- The server generates an XML document
- The document is transformed using an XSLT stylesheet, either on the server or in the browser.
- jQuery is the client-side library.
If you use tags in jQuery selectors, for example $(".pulldownMenu P A").click(handler), the tag names are case insensitive if you use IE or server-side transformation with Firefox but become case sensitive if Firefox performs client-side transformation regardless of xsl:output settings. To ensure your jQuery code works in all cases, write exactly the same tag names in jQuery selectors and XSLT stylesheet.
No comments:
Post a Comment