View Full Version : appendChild function not working in ie7 and ie 8

01-30-2012, 09:41 AM

I have one java script of fancy hover tool tip in my site..It is great working in ie 9, Firefox , chrome ,opera...

But not working in ie 7 and ie 8.

error display in console i found as line no 155 below.

Unexpected call to method or property access.

I attach my java script file with this thread.

please help me.

01-31-2012, 02:26 AM
Well, right - that is what's there in that file. The error indicates that for IE 7 and 8, for some reason 'this' cannot append a child at that point.

It doesn't tell us what 'this' represents at that point though. That's probably determined by the "fancy hover tool tip" code, or other code on the page.

It makes me think you have an array or an object somewhere in your code that has a trailing comma after its last item or property. If that's the case, best to just fix that.

But it could be something else, I can't tell for sure what it is without seeing the live page that this is happening on.

We can try changing line 155 to:


That may or may not eliminate the error, and even if it does, it may or may not allow the other code to work as desired in IE 7 and 8.

If you want more help, please post a link to the page on your site that contains the problematic code so we can check it out.

02-01-2012, 06:51 AM
thank you for help.
Now it is working in ie 7 and 8.

thanks again.