<input type="text" id="source_tds" name="source_tds" value="<{$source_tds}>" onkeyup="if(isNaN(value)){execCommand('undo');alert('只能输入数字 !');}" onafterpaste="if(isNaN(value))execCommand('undo')" ></input>