#9610 closed bug (duplicate)
changed language protocol?
Reported by: | IQX99 | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | support | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Win7, IE9
Previous legacy code: "if(elem.getElementsByTagName){...}" but this failed in IE9. Firefox, safari and chrome all ok.
changed to "if(typeof(elem.getElementsByTagName)=='function'){...}" works fine.
Has something changed with the way the if() checks for a return value?
Change History (5)
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → support |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 12 years ago by
Please see jquery-1.6.1.js, line 5975
Best regards,
Replying to rwaldron:
This code:
if(elem.getElementsByTagName) // or... if ( elem.getElementsByTagName )Does not exist in jQuery.
comment:3 Changed 12 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
It used to, but has since been changed.
comment:4 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
This code:
Does not exist in jQuery.