Button1.onclick = function() {
$("#Validator1").jqxValidator("validate");
}
JqxValidator: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
== Properties and Methods == | == Properties and Methods == | ||
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/. | |||
http://www.jqwidgets.com/jquery-widgets- | |||
{| class='wikitable' | {| class='wikitable' | ||
Line 26: | Line 25: | ||
|- | |- | ||
| position || Sets the default position of the hints. | | position || Sets the default position of the hints. | ||
|} | |} | ||
== Example == | |||
<tabber> | |||
< | JavaScript= | ||
<syntaxhighlight lang="JavaScript"> | |||
Button1.onclick = function() { | Button1.onclick = function() { | ||
$("#Validator1").jqxValidator("validate"); | $("#Validator1").jqxValidator("validate"); | ||
} | } | ||
</ | </syntaxhighlight> | ||
|-| | |||
BASIC= | |||
<syntaxhighlight lang="vb.net"> | |||
Function Button1_onclick() | |||
$("#Validator1").jqxValidator("validate") | |||
End Function | |||
</syntaxhighlight> | |||
</tabber> | |||
== Output == | == Output == |
Latest revision as of 22:01, 24 July 2019
Description
jqxValidator can check the fields on a form. It should be the bottom item in the Project Explorer, so it can check all the controls above it.
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.
Properties and Methods
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
animation | Sets the animation type of hiding hints. |
arrow | Sets whether the arrow of the hints will be shown. |
closeOnClick | Sets whether the hints will be closed when the user clicks on them. |
focus | Sets whether the jqxValidator will focus the first invalid input |
onvalidationError | This is triggered when the form is validated with some errors. |
onvalidationSuccess | This is triggered when the form is validated successfully. |
position | Sets the default position of the hints. |
Example
Function Button1_onclick()
$("#Validator1").jqxValidator("validate")
End Function
Output
See above.