本文目录一览

1,dreamweaver中怎么实现全选按钮的功能

应该是用JavaScript做
不用数据库 就javascript

dreamweaver中怎么实现全选按钮的功能

2,dw中点击最后一个复选框全部让前面几个复选框全部选上应

javascript最后一个click事件中 遍历窗体的搜索select控件,设置checked属性为true就行了,以前 做过。你都江湖大侠了还来提这种问题啊^_^
你到底是要 复选框 还是要批量审核啊~

dw中点击最后一个复选框全部让前面几个复选框全部选上应

3,dreamweaver中设置一个用于复选框全选的按钮的代码是什么 搜

我没有用按钮,也是用复选框,因为我觉得复选框适合些,如果你觉得按钮好的话你改为按钮吧.<body> <div> <div id="Layer1"> <form id="form1" name="form1" method="post" action="mailto:ed388@163.com" enctype="text/plain"> <fieldset> <legend><span class="STYLE3">国语</span></legend> <table align="center" width="683" height="675" border="1"> <tr> <td colspan="3"><div align="center"><span class="STYLE5">动听音乐网华语榜单</span></div></td> </tr> <tr> <td><span class="STYLE1">华人男歌手歌曲排行</span></td> <td><span class="STYLE1">华人女歌手歌曲排行</span></td> <td><span class="STYLE1">乐队歌曲排行</span></td> </tr> <tr> <td width="234"> <label> <input type="checkbox" name="a" /> <span class="STYLE1"><a>难道爱一个人有错吗</a></span></label> <p> <label> <input type="checkbox" name="b" /> <span class="STYLE1"><a>青花瓷</a></span></label> </p> <p> <label> <input type="checkbox" name="c" /> <span class="STYLE1"><a>稻香</a></span></label> </p> <p> <label> <input type="checkbox" name="d" /> <span class="STYLE1"><a>当我孤独的时候还可以抱</a></span></label> </p> <p> <label> <input type="checkbox" name="e" /> <span class="STYLE1"><a>爱情里没有谁对谁错</a></span></label> </p> <p> <label> <input type="checkbox" name="f" /> <span class="STYLE1"><a>给我一首歌的时间</a></span></label> <p> <label> <input type="checkbox" name="g" /> <span class="STYLE1"><a>不要就这样离开</a></span></label> </p> ... ... <p> <script type="text/javascript">var ic = document.getElementsByTagName("input");function csv(obj) for(i=0;i<ic.length;i++) if(ic[i].type=="checkbox") ic[i].checked=obj.checked; }}</script><label> <input type="checkbox" onClick="csv(this);" /> <span class="STYLE1">全选</span></label> </p> </td> </tr> </table> </fieldset> </form> </div> </div> </body>有其它问题的话可以在百度里留言.

dreamweaver中设置一个用于复选框全选的按钮的代码是什么  搜


文章TAG:怎么用DW做复选框全选怎么  复选框  全选  
下一篇