W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

tidy and JS

From: Fabrice Estiévenart <fe@cetic.be>
Date: Thu, 25 Mar 2004 15:50:26 +0100
Message-Id: <5.1.0.14.0.20040325153702.0325a200@127.0.0.1>
To: html-tidy@w3.org
hi,

tidying up this javascript:

<script type="text/javascript" language="JavaScript">
         document.write('<select name="Language" 
onChange="JumpMenu(this.options[this.selectedIndex].value)"; return true;>');
     document.write('<option value="about_es.htm">Castellano<\/option>');
</script>

gives me no change in the html code. However, the output document is not 
well-formed xml.

How can I make Tidy work with this JS or simply delete JS content ?

thanks,

Fabrice
Received on Thursday, 25 March 2004 09:50:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:53 UTC