<input name="v_amount" type=text value="0.01" οnkeyup="if(isNaN(value))execCommand('undo')"> 转载于:https://www.cnblogs.com/qqflying/archive/2010/01/19/1651295.html