[thelist] XHTML1.1 Validation errors with Javascript

Saila, Craig csaila at globeandmail.ca
Mon Oct 27 09:18:41 CST 2003


Tim Burgan wrote:
> I understand that an external file is the easy option, but I'd much
> rather have the javascript embedded. 

I believe it was Andrew Clover who came up with this method, but there
is a ugly way to do what you're looking for: 
 <script type="text/javascript"><!--//--><![CDATA[//><!-- 
  // content 
 //--><!]]></script> 
<http://www.saila.com/usage/tips/defn.shtml?script_text>

-- 
Cheers,

Craig Saila
------------------------------------------
craig at saila.com : http://www.saila.com/
------------------------------------------ 


More information about the thelist mailing list