<script language = javaScript> function check () {var xz = document.getElementById ("xz"); alerta (xz.ecked); } </script> <html> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <input type = checkbox name = "xz" id = "xz" valor = 1> <input type = s, sent = s1 value = "提交" onclick = "return check ();"> </html>