#8139 closed bug (duplicate)
IE 9 not suported getElementsByTagName when load content
Reported by: | svcorp77 | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.5.1 |
Component: | manipulation | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery.clone function
bug when IE 9 try to load content from web:
$('<div>Try to load content</div>') .load('http://bugs.jquery.com/report', function() { alert('OK'); });
FIX:
// Using Sizzle here is crazy slow, so we use getElementsByTagName // instead // but for IE Sizzle for sure-) if ("getElementsByTagName" in elem ) { srcElements = elem.getElementsByTagName("*"); destElements = clone.getElementsByTagName("*"); }else{ srcElements = $('*', elem).get(); destElements = $('*', clone).get(); };
Change History (3)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Milestone: | 1.next → 1.5.1 |
Priority: | undecided → blocker |
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
Duplicate of #8052.