Tag Archive > form

How to reset a form in jQuery

Reseting the form to it’s initial values is one of those things you often do once and once again. Doing this task with jQuery is really easy: $(’#FormID’).each (function(){ this.reset(); }); The thing is, that the code above iterates through each element of the form, and calls to the DOM “reset” javascript method. In fact, […]

Continue reading

, , , ,