1. How to Reset a Form with jQuery

    Clearing a form is something that you often need to do on a website, for example if you want to empty the form fields after submitting a form with Ajax. Resetting a form using JavaScript is pretty straightforward, you can just call: document.getElementById("#myform").reset(); But calling …