一般是js在给对象赋值的时候错误使用了jquery属性,
我遇到的情况是:
<input id="test" type="button" value="验证" name="test">
$("#test").html("123");
正确用法是:
<input id="test" type="button" value="验证" name="test">
$("#test").val("123");
一般是js在给对象赋值的时候错误使用了jquery属性,
我遇到的情况是:
<input id="test" type="button" value="验证" name="test">
$("#test").html("123");
正确用法是:
<input id="test" type="button" value="验证" name="test">
$("#test").val("123");