eval.call(window, this.text) syntax error
I was playing with jQuery and its jQuery Form plugin.
Everythig went fine and i got AHAH calculator working until i tried to test IE...
And yes, it didn't work...Each time a got unknown error.
So I took a debugger and started fixing...
Eventually I found the place causing error
which is to evaluate scripts from received HTML response.
But what actually caused the error was that each script was commented out like:
and MS IE eval function implementation isn't capable evaluating that.
eval("<!-- alert('Im commented') -->"); /** Causes Syntax error in IE (6 tested)*/
eval("alert('Im commented')"); /** Works fine*/
Yeah, that worth to know...