Re: Java script and validator... not the common endtag/backslash error

> you will get just a syntax error on IE, which does
> not recognize
> the <![CDATA[ construct, and therefore doesn't read
> the
> JavaScript code properly.
> 
It works on IE if I write it this way:
<script type="text/javascript">
//<![CDATA[
  document.write('hello');
//]]>
</script>

and it also validates. I tested it with netscape too
and no problems.



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

Received on Sunday, 22 August 2004 09:40:53 UTC