Side navigation
#14256 closed bug (notabug)
Opened August 14, 2013 05:52AM UTC
Closed August 20, 2013 06:08PM UTC
In IE10, Object Tag has not getAttribute func
Reported by: | quisa137@gmail.com | 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~!
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/