I am trying to use jQuery to do a simple thing: clear the input fields of a group of input field within a div whenever the form loads, or if the user changes a picklist; but
Change this:
To this: Then the following should work: $("#fetch_results input").each(function() { this.value = ""; }) http://jsfiddle.net/NVqeR/ 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
To this:
Then the following should work: $("#fetch_results input").each(function() { this.value = ""; }) http://jsfiddle.net/NVqeR/ 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Then the following should work:
$("#fetch_results input").each(function() { this.value = ""; })
http://jsfiddle.net/NVqeR/