Side navigation
#9610 closed bug (duplicate)
Opened June 17, 2011 02:52PM UTC
Closed June 20, 2011 02:16PM UTC
Last modified June 20, 2011 02:16PM UTC
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?
Attachments (0)
Change History (5)
Changed June 17, 2011 03:15PM UTC by comment:1
component: | unfiled → support |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
Changed June 20, 2011 10:00AM UTC by comment:2
Please see jquery-1.6.1.js, line 5975
Best regards,
Replying to [comment:1 rwaldron]:
This code:> if(elem.getElementsByTagName) > > // or... > > if ( elem.getElementsByTagName ) >Does not exist in jQuery.
Changed June 20, 2011 02:16PM UTC by comment:3
resolution: | invalid |
---|---|
status: | closed → reopened |
It used to, but has since been changed.
Changed June 20, 2011 02:16PM UTC by comment:4
resolution: | → duplicate |
---|---|
status: | reopened → closed |
This code:
Does not exist in jQuery.