Skip to content

Commit 7663d4f

Browse files
Arknistaabm
authored andcommitted
Entries: Fix submitHandler's arguments description (#46)
A follow-up of #26
1 parent c93f636 commit 7663d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/validate.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</property>
2626
<property name="submitHandler" default="native form submit">
2727
<desc>
28-
Callback for handling the actual submit when the form is valid. Gets the form as the only argument. Replaces the default submit. The right place to <a href="http://www.malsup.com/jquery/form/#api">submit a form via Ajax</a> after it is validated.
28+
Callback for handling the actual submit when the form is valid. Gets the form and the submit event as the only arguments. Replaces the default submit. The right place to <a href="http://www.malsup.com/jquery/form/#api">submit a form via Ajax</a> after it is validated.
2929
<p><strong>Example</strong>: Submits the form via Ajax when valid.</p>
3030
<pre><code>
3131
$("#myform").validate({

0 commit comments

Comments
 (0)