Jquery 1.6.1 - Selecting Xml
Solution 1:
This is the real reason it's not working: a regression in jQuery 1.4.2.
Solution 2:
You probably don't need the [0] because an id is a singular value and doesn't return an object list like finding a class would.
Solution 3:
I've answered my own question as suggested by Arend
[Resolved] Thanks to Felix Kling
the problem seems to be one of the following:
1) IE9 is not rendering IE8 Standards mode properly. I just recently upgraded to IE9 but my app still needs to run in IE8 Standard Mode therefore I've forced it in IIS to render in IE8 using X-UA-Compatible IE=8. Also another thing about X-UA-Compatible rather use IE=EmulateIE8 not IE=8. But still even when you use IE=EmulateIE8 it still does not play nicely with jquery 1.6.1. Therefore its better to use IE9 standard mode which works fine, so busy converting code to be standard be compliant anyway better in the long run.
2) i also updated my jquery file from 1.4.2 to 1.6.1
but it could be a combination of these things i'm not really sure anyway using normal document.getElementById("xmlSettings");
still works fine so in the mean time i'll use that but very bizarre issue. i wouldn’t be surprised if it's an IE9 issue. Or maybe i'll remain on jquery 1.4.2 for now.
Post a Comment for "Jquery 1.6.1 - Selecting Xml"