if(!/^[0-9]+.[0-9]{0,2}$/.test(txtprice.value))
        {
            alert("价格必须是数字,如有小数,保持两位!");
            txtprice.focus();
            return false;               
        }

相关文章:

  • 2022-12-23
  • 2021-10-14
  • 2021-06-02
  • 2022-12-23
  • 2022-01-07
猜你喜欢
  • 2021-12-02
  • 2021-05-28
  • 2022-12-23
  • 2022-03-04
  • 2022-12-23
  • 2021-08-11
相关资源
相似解决方案