Saturday, March 16, 2013

Reset Form on AJAX Call

$("#cform")[0].reset();
or in plain javascript:
document.getElementById("cform").reset();

No comments:

Post a Comment