tidy and JS

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