It seems that HTMLCollection and NodeList is undefined in ie6/7,and following code will result an error among ie6/7
alert(HTMLCollection)
then how to identify weather an object is HTMLCollection?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HtmlCollection is not available in IE 6/7. You would have to try to shim it as in create-a-htmlcollection or use some external library to deal with the problem (which is?)