会做网页的麻烦进来帮我看一下. 我想做一个跟这个差不多样子的网页.(功能)就是上面有几个复选框,然后选择,下面有有一行是你选择的数字. asp php 什么的都可以,麻烦了..做好的可以把网页源码贴上来或是发我邮箱.[email protected] 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 本帖最后由 brothercat 于 2009-10-18 22:35:05 编辑 <html> <input type = "checkbox" name = "s" onclick = "_p(1);" />1 <input type = "checkbox" name = "s" onclick = "_p(2);" />2 <input type = "checkbox" name = "s" onclick = "_p(3);" />3 <input type = "checkbox" name = "s" onclick = "_p(4);" />4 <input type = "checkbox" name = "s" onclick = "_p(5);" />5 <input type = "checkbox" name = "s" onclick = "_p(6);" />6 <div id = "e"></div> <script type = "text/javascript"> var _s = document.getElementsByName("s"); function _p(sn){ if (_s[sn-1].checked) document.getElementById("e").innerHTML += sn; } </script></html>http://bbs.winzheng.com/感谢嬴政的兄弟~! js的词法作用域 有关xpath谓语的问题 o3d中模型的问题 在线高分求解fusionChartsV3简单问题,动态改变数据源报错??? 时间js 如何修改disabled的select的字体颜色? <img>问题 请教大家一个题,一个我以前没有见过的 区分第一个和其它,怎么实现? 急:JavaScript与JSP的混合运用,好像出问题了。 怎么动态的给DIV加JS函数调用 关于表格的一个貌似高难度问题
<input type = "checkbox" name = "s" onclick = "_p(1);" />1
<input type = "checkbox" name = "s" onclick = "_p(2);" />2
<input type = "checkbox" name = "s" onclick = "_p(3);" />3
<input type = "checkbox" name = "s" onclick = "_p(4);" />4
<input type = "checkbox" name = "s" onclick = "_p(5);" />5
<input type = "checkbox" name = "s" onclick = "_p(6);" />6
<div id = "e"></div>
<script type = "text/javascript">
var _s = document.getElementsByName("s");
function _p(sn){
if (_s[sn-1].checked) document.getElementById("e").innerHTML += sn;
}
</script>
</html>
http://bbs.winzheng.com/
感谢嬴政的兄弟~!