Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Web-development
  3. Question
Web-development

How can I use the “$.fn.reset” function in jQuery to design a reset button in a form?

Asked by Anne Bell Jan 24, 2024 1.3K views 1 answer
Share

About this question

There is a scenario where I have a form with various fields. Thus I want to execute a “reset” button which when clicked all inputs would be reset to their starting or initial values. How can I use the $.fn.reset function in jQuery to achieve this particular target? 

Your answer

1 Answer

More Web-development discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest from the JanBask Blog

Guides, tips and career advice from JanBask experts.