此列中的html文本如下所示: this is a test</p> <input name="amount" type="text" value="this is forname="test" type="text" value="this is for test" /></p> this is a test<&
当用户单击“发送”按钮或按enter键时,我将对表单进行验证并检查字段是否为空,但我似乎无法从Chrome填写的表单中获取数据。事件不会触发,这会导致在浏览器为用户填写字段时更新绑定到字段的属性。我尝试使用jQuery选择器来获取didInsertElement()中的值,但在调用该函数之后,浏览器将填充该字段。_super();
var usernameInput = jQ