浏览模式: 普通 | 列表
1月, 2008 | 1

js来简单实现选中才出现的表单

[ 2008-01-31 08:55:07 | 作者: admin ]
<form id="form1" name="form1" method="post" action="">
     <table width="200" border="1" cellspacing="0" cellpadding="5">
         <tr>
             <td><label>
                <input type="checkbox" name="ckbox1" id="checkbox" onclick="if(form1.ckbox1.checked==true){hideForm1.style.display='block';}else{hideForm1.style.display='none';}" />
             </label></td>
         </tr>
     </table>
     <br />
     <table width="200"
...

阅读全文…
1