| 发表于:2007-02-09 15:40:46 楼主 |
<meta http-equiv= "content-type " content= "text/html; charset=gb2312 " /> <script language= "javascript "> function show4(obj,str){ var td = document.getelementbyid(str); if(checkboxid.checked == true){ td.style.display = "block "; }else{ td.style.display = "none "; } } </script> <body> <form> <table width= "75% " border= "1 "> <tr> <td width= "23% "> 1.什么是医疗保险 <input type= "checkbox " name= "checkbox " id= "checkboxid " onclick= "show4(this, 'show1 ') "/> </td> <td width= "77% " id= "show1 " style= "display:none "> <select name= "select "> <option> 11111111 </option> <option> 2222222222 </option> <option> 33333333 </option> </select> </td> </tr> </table> </form> 这个为什么我给form去掉,就可以用啊,不去掉就不能用 |
|
|
|
|