当前位置: 代码迷 >> JavaScript >> 怎么实现ListBox上放置CheckBox
  详细解决方案

怎么实现ListBox上放置CheckBox

热度:98   发布时间:2012-02-25 10:01:49.0
如何实现ListBox上放置CheckBox
如何实现ListBox上放置CheckBox
这样复选框先择后还可以跟其它元素一样进行提交。请问这个要怎么实现?

------解决方案--------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> 无标题文档 </title>
</head>

<body>
<div style= "width:100px; height:150px; overflow-x:hidden; overflow-y:scroll ">
<input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br />
<input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br /> <input type= "checkbox " name= "checkbox " value= "checkbox " />
111111 <br />
</div>
</body>
</html>
  相关解决方案