Skip to content Skip to sidebar Skip to footer

Getting An Error Code: 0 In Only Ie For Javascript File

Im using a Drupal 7.22 installation for my website. I keep getting an error in IE for one of my JS files. The error in IE states Line: 32 Error: Not implemented This issue

Solution 1:

self is a global variable an alias for window. You cannot change the value of the window variable.

You need to use var to make it a local variable:

var self = jQuery(this);

P.S. You should use var for every variable, you don't want to start creating global variables.

Post a Comment for "Getting An Error Code: 0 In Only Ie For Javascript File"