Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

How to reset a form in jQuery?

Ads

 
 

Share on Google+Share on Google+

Deepak Kumar
How to reset a form in jQuery?
1 Answer(s)      6 years and 7 months ago
Posted in : JavaScript Questions

Hi,

I have a form where I am using jQuery. I want to reset the form. How I can reset the form grammatically?

Ads
View Answers

January 11, 2011 at 11:09 PM


Hi,

You can use following code:

$("#MyFomrName").reset();

Thanks


Ads