jquery 1.6.1 - selecting xml
问题 In jquery 1.4.2 i was able to select xml residing in my html page by doing the following: var xmlSettings = $("#xmlSettings")[0]; this is the same as: document.getElementById("xmlSettings"); //this still works fine In jquery 1.6.1 xmlSettings is undefined. all i did was upgrade my jquery from 1.4.2 to 1.6.1 and now this is not working. is there a different selection that i need to do, or do i need to add a plugin? xml in Html page: <xml id="xmlSettings"> <items> <item name="Test1">Test data 1