jquery function to reset a form code example Example 1: form reset jquery $('#form_id').trigger("reset"); Example 2: form reset jquery $('#form').get(0).reset()