多组多选按钮的全选功能

mkcat 2010-07-20 06:20:55


大家帮我看看,这全选功能怎样做?
我点击首页滚动就全选首页滚动的。。。。


<label><input name="State<%=rs("GoodsID")%>" type="checkbox" id="State<%=rs("GoodsID")%>" value="net"<% if Instr(rs("GoodsState"), "net") > 0 or checked <> "" then response.write " checked=""checked"""%> />首页滚动</label>
<label><input name="State<%=rs("GoodsID")%>" type="checkbox" id="State<%=rs("GoodsID")%>" value="spe&recom"<% if Instr(rs("GoodsState"), "spe&recom") > 0 then response.write " checked=""checked"""%> />劲爆推荐</label>
<label><input name="State<%=rs("GoodsID")%>" type="checkbox" id="State<%=rs("GoodsID")%>" value="special"<% if Instr(rs("GoodsState"), "special") > 0 then response.write " checked=""checked"""%> />限时特价</label>
<label><input name="State<%=rs("GoodsID")%>" type="checkbox" id="State<%=rs("GoodsID")%>" value="recommend"<% if Instr(rs("GoodsState"), "recommend") > 0 then response.write " checked=""checked"""%> />新品上市</label>
<label><input name="State<%=rs("GoodsID")%>" type="checkbox" id="State<%=rs("GoodsID")%>" value="new"<% if Instr(rs("GoodsState"), "new") > 0 then response.write " checked=""checked"""%> />热销产品</label>
...全文
80 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
mkcat 2010-07-20
  • 打赏
  • 举报
回复
再次顶置,在线等待
mkcat 2010-07-20
  • 打赏
  • 举报
回复
顶置,在线等待
mkcat 2010-07-20
  • 打赏
  • 举报
回复
在线等待

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧