'morning all,

It is common and often recommended practice to comment javascript
placed in a document.

<script type="text/javascript" language="javascript">
   <!--
   myVariable = 'woo';
   // -->
</script>

The reason cited is that 'very old browsers' that do not understand
the script tag may print the raw code.

How old are we talking? Has anyone ever seen this happen? Can't we
safely leave behind what is essentially a hack?

While I'm on the topic - what about the whole <![CDATA[ ... ]]> thing?
Should I be using that? What are the possible consequences of ignoring
it like the vast majority of page authors?

--
Andrew Harris
[EMAIL PROTECTED]
http://www.woowoowoo.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to