xxxxxxxxxx
$(formIDOrClassName)[0].reset();
xxxxxxxxxx
<script type="text/javascript">
if (window.jQuery) {
jQuery(function ($) {
$("form#myForm").ResetFormFields();
}
}
</script>
xxxxxxxxxx
//reset form
$("#mybutton").click(function(){
$("#myform").find('input:text, input:password, input:file, select, textarea').val('');
$("#myform").find('input:radio, input:checkbox').removeAttr('checked').removeAttr('selected');
});