Side navigation
#3900 closed bug (duplicate)
Opened January 17, 2009 01:54PM UTC
Closed January 17, 2009 03:10PM UTC
Last modified March 15, 2012 03:02PM UTC
jQuery 1.3 using content type application/xhtml+xml in Firefox doesn't work
Reported by: | dark_ixion | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | unfiled | Version: | 1.3 |
Keywords: | xhtml, xhtml+xml, mime, firefox, content-type | Cc: | |
Blocked by: | Blocking: |
Description
If I'm using jQuery 1.3 with a page with a content type of application/xhtml+xml in Firefox, jQuery's functions do not work.
Test cases:
WORKING - jQuery 1.3 with a content type of application/xhtml+xml:
http://killingcupid.avengedsevenfold.co.uk/jquery_1.php
NOT WORKING - jQuery 1.3 with a content type of text/html:
http://killingcupid.avengedsevenfold.co.uk/jquery_2.php
WORKING - jQuery 1.2.6 with a content type of application/xhtml+xml:
http://killingcupid.avengedsevenfold.co.uk/jquery_3.php
This works okay in Safari and Opera. I don't need to test this in Internet Explorer as it doesn't support that MIME type anyway (so I serve them the incorrect text/html one).
I don't get this problem in Firefox with jQuery 1.2.6.
Sorry, that should have read:
Test cases:
NOT WORKING - jQuery 1.3 with a content type of application/xhtml+xml:
http://killingcupid.avengedsevenfold.co.uk/jquery_1.php
WORKING - jQuery 1.3 with a content type of text/html:
http://killingcupid.avengedsevenfold.co.uk/jquery_2.php
WORKING - jQuery 1.2.6 with a content type of application/xhtml+xml:
http://killingcupid.avengedsevenfold.co.uk/jquery_3.php
And I should have mentioned this is in Firefox 3.0.5.