javascript 问题(急) JQuery 实现起来复杂吗?我时间很近,是在没有办法我只能一个一个手动添加了。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><script>var ar=document.getElementsByTagName("input");for (var i=0;i<ar.length;i++){if(ar[i].type=='text'){ar[i].onkeypress=function(){return /[\d.]/.test(String.fromCharCode(event.keyCode));}}}</script> 如何在JS事件中调用JS文件 jquery treeview 当只有一个根节点时,无法显示 导航条效果 一个关于eval 的问题 FireFox里怎么让这句话执行 用javascript如何实现地区的选择 怎么使用javascript创建 <li> <ol> <a>等元素 新手问一个思路问题? 我的IE6为什么没有“打印预览” 如何在 动态生成标签下生成 easyui tree? 提交表单 onClick _blank 双击的问题,第一次双击能使,要求再次双击时不起作用
<input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled"><input style="ime-mode:Disabled">
<script>
var ar=document.getElementsByTagName("input");
for (var i=0;i<ar.length;i++){
if(ar[i].type=='text'){
ar[i].onkeypress=function(){return /[\d.]/.test(String.fromCharCode(event.keyCode));}
}
}
</script>