Starting jquery-1.4, in IE8, html() returns null for a non-HTML element (e.g. <xml)
In IE8, for the following HTML, $('#myXML').html() returns null starting jquery-1.4. This used to return the contents of the <xml> tag in jquery-1.3. Any ideas, how do I get the contents of <xml> tag? Thanks.
- <html>
- <head>
- <title>Title</title>
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.js"></script>
- </head>
-
- <body>
- <xml id='myXML'>
- <node><value>some.value</value></node>
- </xml>
- <body>
- </html>