[HTML_AJAX-devel] dynamic loading javascript IE bug

Arpad Ray arpad at rajeczy.com
Tue Jul 18 04:39:50 PDT 2006


Hi,

I don't have my SVN pass to hand, but here's a diff to fix it in case
someone else is feeling helpful.

Arpad

On 7/18/2006, "Otto Berger" <bruno at hilight.de> wrote:

>Hi,
>
>i think there is a little bug in the parsing function of setInnerHTML.
>After spending hours with debugging i found out that snippets like the
>following results in an javascript error in the IE (not in Firefox):
>
>
><script type="text/javascript">
><!--
>alert("hello world!");
>//-->
></script>
>
>the problem is the <!-- comment... I know that in modern browsers this
>tag is useless there - but some older scripts use them for backward
>capability  to "Netscape 1" and "IE 2" ;-)
>
>
>cheers,
>Otto
>
>
>_______________________________________________
>Html_ajax-devel mailing list
>Html_ajax-devel at lists.bluga.net
>http://lists.bluga.net/mailman/listinfo/html_ajax-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: util.js.diff
Type: application/octet-stream
Size: 506 bytes
Desc: not available
Url : http://bluga.net/pipermail/html_ajax-devel/attachments/20060718/d089f7df/util.js.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setInnerHTML.php.diff
Type: application/octet-stream
Size: 1403 bytes
Desc: not available
Url : http://bluga.net/pipermail/html_ajax-devel/attachments/20060718/d089f7df/setInnerHTML.php.obj


More information about the Html_ajax-devel mailing list