数字是48到57,那么小数点的KEYCODE是多少?

解决方案 »

  1.   

    <input type=text name=txt onkeypress="test(this)"><script>
    function test(o) {
      var re = /\.\d\d/;
      if(re.test(o.value))
        o.value = o.value.replace(/(.+)\d/,"$1");
    }
    </script>js的写法,自己改成vbs吧
      

  2.   

    唠叨下,请问“var re = /\.\d\d/;”这句的格式是怎样解释?
      

  3.   

    http://www.evansprogramming.comhttp://www.evansprogramming.com/per...at_example1.htm
    http://www.evansprogramming.com/per...at_example2.htm
    http://www.evansprogramming.com/per...at_example3.htm
    http://www.evansprogramming.com/per...at_example4.htm
    http://www.evansprogramming.com/per...at_example5.htm
    http://www.evansprogramming.com/per...at_example6.htm
      

  4.   

    <a>http://www.evansprogramming.com</a>