how to reset on click js code example Example 1: form reset jquery $('#form_id').trigger("reset"); Example 2: form reset jquery $('#form').get(0).reset()