views:

40

answers:

0

Hello,

I have the following code:

eval($(this).text());

Now this.text() contains about 50 lines of JS with ''s and ""'s and various JS code. Now, FireFox, Safari and Chrome have no problem executing this code. However, IE7 reports:

Error: Expected ')' Code: 0

Now, I assume this is some "",'' or () ie syntax problem... however, I can't reproduce this in smaller code base. Everything I try seems to works in IE7 and FF (&friends).

Any suggestions? Thanks in advance,