写一个js函数只能输入数字<input type="text" name="test" id="test"/>