var str=document.form1.price.value;
re=/^([1-9]\d*|0|)\.\d{2}$/
if(!re.test(str))
{alert(價(jià)格格式不正確!請(qǐng)?zhí)顚?xiě)比如:1.22);
document.form1.price.value=;
document.form1.price.focus();
return false;}
2026上岸·考公考編培訓(xùn)報(bào)班