Recently I was engaged with resetting the form fields the hard way using jQuery. As the work enhanced I thought it would be better to release a jQuery plugin!
It has both HTML4 and HTML5 form elements included and a check for radio and checkbox. The usage is pretty simple:
<script type="text/javascript">
if (window.jQuery) {
jQuery(function ($) {
$("form#myForm").ResetFormFields();
}
}
</script>
Leave a Reply