Jquery Getelementsbytagname Error
Cannot Read Property 'getelementsbytagname' Of Undefined
Threaded Comments only Change History (51) comment:1 Changed 6 years ago by addyosmani Owner set to [email protected]… Priority changed from undecided to low Status changed from new to pending Could you please provide us with a reduced test case on jsFiddle.net that reproduces this error? I've just put together this simple test and everything typeerror: getelementsbytagname is not a function seems to be working fine in IE9 beta with the 1.5RC. Please also let us know if you're testing in a particular standards mode. PS: Also bare in mind I'm assuming you're referring to getElementsByTagName. If not, let us know. Last edited 6 years ago by addyosmani (previous) (diff) comment:2 Changed 6 years ago by [email protected]… Hey Addy, Your test works in jsFiddle because it changes the document mode to IE7 (jsFiddle doesn't work in IE9 mode). The bug only happens in IE9 mode. comment:3 Changed 6 years ago by thiessenp Something as basic as the below throws an exception in IE. Note: comment above about JSFiddle in IE9 document mode Note: I tried with a HTML4 and HTML5 doc type Note: Please disregard the new bug I opened: Ticket #8062script var el = $('
how can this break IE9 - WTF?!');
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta uncaught typeerror: document.getelementsbytagname is not a function Discuss the workings and policies of this site About Us Learn
Form.getelementsbytagname Is Not A Function
more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us
Xmldoc.getelementsbytagname Is Not A Function