如何选择一个或者多个复选框的时候,数字显示在div中呢,思路比较乱,谢谢!
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<body>
<input type="checkbox">123<br/>
<input type="checkbox">456<br/>
<input type="checkbox">789<br/>
<input type="checkbox">563<br/>
<input type="checkbox">156<br/>
<input type="checkbox">110<br/>
<div style="width:290px; height:50px; border:1px solid;">
</div>
</body>
</html>
富国沪深
相关分类