[jQuery] window.execScript in IE fails when scripts include HTML comment tag

2007-09-20 Thread Shinji Furuya
Hi, list I found a jQuery 1.2.1 bug which fails in IE(6|7). jQuery.domManip calls evalScript and finally executes window.execScript if the conditions match, but window.execScript in IE fails when scripts include HTML comment tag. Traditional way of writing script tag is as below for browsers

[jQuery] window.execScript in IE fails when scripts include HTML comment tag

2007-09-20 Thread Shinji Furuya
Hi, list I found a jQuery 1.2.1 bug which fails in IE(6|7). jQuery.domManip calls evalScript and finally executes window.execScript if the conditions match, but window.execScript in IE fails when scripts include HTML comment tag. Traditional way of writing script tag is as below for browsers