<html> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>今日图灵IT培训</title> <body> 完成turing函数的内容,要求能够弹出对话框提示当前选中的是哪几个复选框。 <!--完成turing函数的内容,要求能够弹出对话框提示当前选中的是哪几个复选框。--> <form name="form1" onsubmit="return turing();"> <input type="checkbox" name="checker"/> 1 <input type="checkbox" name="checker"/> 2 <input type="checkbox" name="checker"/> 3 <input type="checkbox" name="checker"/> 4 <input type="checkbox" name="checker"/> 5 <input type="checkbox" name="checker"/> 6 <input type="submit"/> </form> </body> </html> <script> function turing() { // 在此处添加代码 } </script>