jQuery reset function Use and Example:
jQuery reset function: in your web pages click reset button and form values is changed to the previous position. Use jQuery reset function that’s like reset(). jQuery reset function, reset a web form, which form user use for submitting their information in client side.
In this tutorial, I have explained the use of jQuery reset function with example. So, you can use in your web pages very easily. This tutorial will clear the input form fields from your web application.
Reset form field values using jQuery use reset() method. If you want to click a reset button for do this, then you need to set ID name in the reset button and form tag. Follow the example, you can get the right information.
Example:
<script type="text/javascript"> $(document).ready(function(){ $("#reset_button").click(function(){ $("#my_form")[0].reset(); }); }); </script>
You can even copy the source file of it. in your project, you must be added jquery JS links.