<! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<! -- Saved from url = (0036) http://www.bkye.com/tool/html-js.htm -->
<HTML xmlns = "http://www.w3.org/1999/xhtml"> <HEAD> <TITLE> HTML and JS conversion tools </TITLE>
<META http-equiv = Content-Type content = "text/html; charset = gb2312">
<SCRIPT language = javascript>...
Function change ()...{
Txt. value = "document. writeln ("" + txt. value. replace (// g ,"//"). replace (// g ,"//"). replace (/'/g ,"/'"). replace (/"/g ,"/""). split (''). join (""); document. writeln ("") + "")"
}
Function rechange ()...{
Txt. value = txt. value. replace (/document. writeln ("/g ,""). replace (/");/g ,""). replace (// "/g ,"""). replace (// '/g ,"'"). replace (///g ,"/"). replace (///g ,"/")
}
</SCRIPT>
<META content = "MSHTML 6.00.20.0.2954" name = GENERATOR> </HEAD>
<BODY>
<TABLE cellSpacing = 0 cellPadding = 0 width = "100%" border = 0>
<TBODY>
<TR>
<TD align = middle> enter the code to be converted in the text box <BR> <TEXTAREA id = txt rows = 30 cols = 100 value = ""> </TEXTAREA> </ TD> </TR>
<TR>
<TD class = maincontent2 height = 15>
<DIV align = center> <INPUT onclick = change () type = button value = HTML to convert JavaScript name = Submit2> & nbsp;
<INPUT onclick = rechange () type = button value = JS to HTML name = Submit1>
</DIV> </TD> </TR> </TBODY> </TABLE> </BODY> </HTML>