日期:2014-05-16  浏览次数:20458 次

如何实现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>