How to reset all fields of a form through JavaScript or jQuery?

In java script form.reset() is a DOM element method (not one on the jQuery object), so you need:
If you want to you use jQuery follow below code