- 博客(2)
- 收藏
- 关注
原创 回车键响应某个按钮的JS
funciton document.onkeydown() //整个页面如果有回车键事件发生时function go() { if(event.keyCode==13) { document.getElementById("go").click(); return false; } } onkeydown
2009-08-14 16:31:00 1609
原创 js
function spec_sub(count){ var d = document.getElementsByName(radio); for(var i=0;i if(d[i].checked == true){ document.form1.defaultSpec.value = d[i].value; } } regexpdat=/^/d+$/; for(var
2009-08-04 11:27:00 348
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人