JQuery reset or clear large form


How can you clear or reset large fields of form quickly.You can use jquery $('#formID').reset();. But this would remain in the form if you reset it this way.This is why a “manual” reset is needed.

This is the perfect way to clear large or small or any form using jquery.

Also you can use following function and call to it for clear the form by passing form ID or name as parameter.

You can use following simple method to clear form.


About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.