How can i solve object error in ie7. Once i load my page. ie7 shows [object Error] in an alert box. i want to know why it happens and how to solve this.
How can i solve object error in ie7. Once i load my page. ie7
Share
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.
(EDIT) this just in:
It now seems that IE7 sometimes displays this popup when an error occurs. It almost looks like it’s trying to display an
alert()with an object in it, callederror. Here’s how I found out. I was trying to set a table row’s CSSdisplayattribute totable-row, but after some debugging and internet seaching, I found out that IE7 and earlier do not supporttable-rowas adisplayvalue. What I had:What solved the problem:
(EARLIER ANSWER)
I’ve been stumped with this same thing today. Ultimately, the cause of the problem boiled down to the fact that I was using document.body.addEventListener to make the page respond to a mouse click:
When I changed the code to the following, the problem was gone in IE7: