#7249 closed bug (invalid)
XML Element .attr() method not working.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | attributes | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<xml id="test" src="test.php" /> <script type="text/javascript">
$(document).ready(function() { alert($("#test").attr("src")); alert(document.getElementById("test").getAttribute("src")); });
</script>
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thanks for the report, but this is not a jQuery bug. IE does not support custom elements in HTML without explicit hacks to add support through calls to document.createElement
.
comment:3 Changed 12 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Note: See
TracTickets for help on using
tickets.
Its only in IE that its undefined.
http://jsfiddle.net/7r5X9/