Opened 9 years ago
Closed 9 years ago
#14256 closed bug (notabug)
In IE10, Object Tag has not getAttribute func
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello, in jQuery Source Code. 1840 line,
return val === undefined ? support.attributes || !documentIsHTML ? elem.getAttribute( name ) : (val = elem.getAttributeNode(name)) && val.specified ? val.value : null : val;
IE10`s "Object" Tag has not getAttribute function.
So, I want fix it like next code.
return val === undefined ? support.attributes && elem.getAttribute != null || !documentIsHTML ? elem.getAttribute( name ) : (val = elem.getAttributeNode(name)) && val.specified ? val.value : null : val;
In my case, I used jQuery.remove() method to destory popup DIV, which contain Flash Object(https://code.google.com/p/swfupload/). Other Browsers are has worked well. But, In IE10,my Code has broken. Script Error Code is 'SCRIPT5007: Object is required'.
Thank you~!
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Hello, in jQuery Source Code. 1840 line,
IE10`s "Object" Tag has not getAttribute function.
So, I want fix it like next code.
In my case, I used jQuery.remove() method to destory popup DIV, which contain Flash Object( https://code.google.com/p/swfupload/). Other Browsers are has worked well. But, In IE10,my Code has broken. Script Error Code is 'SCRIPT5007: Object is required'.
Thank you~!
http://jsfiddle.net/SGcom/zTLp5/