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

来源:百度知道 编辑:UC知道 时间:2024/05/24 15:52:01
我在表格中插入 复选框N个 想在最后做一个全选 及反选的按钮 有高手会吗?我的代码如下:
<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>&

我没有用按钮,也是用复选框,因为我觉得复选框适合些,如果你觉得按钮好的话你改为按钮吧.

<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>