66
rated 0 times
[
70]
[
4]
/ answers: 1 / hits: 41749
/ 13 Years ago, thu, december 29, 2011, 12:00:00
I want to know how to reset a particular form field using jQuery.
I'm using the folowing function:
function resetForm(id) {
$('#'+id).each(function(){
this.reset();
});
}
but it is resetting all the fields. Is there any way to reset specific fields using jQuery or JavaScript? I want to reset only a particular field.
More From » jquery