Skip to content

Update onclick in validate.xml to reflect select elements #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions entries/validate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,10 @@
</property>
<property name="onclick">
<desc>
Validate checkboxes and radio buttons on click. Set to false to disable.
Validate checkboxes, radio buttons, and select elements on click. Set to false to disable.
<p>Set to a Function to decide for yourself when to run validation.</p>
<p>A boolean true is not a valid value.</p>
<p><strong>Example</strong>: Disables onclick validation of checkboxes and radio buttons.</p>
<p><strong>Example</strong>: Disables onclick validation of checkboxes, radio buttons, and select elements.</p>
<pre><code>
$("#myform").validate({
onclick: false
Expand Down