Validator.element()

Validator.element()

Validates a single element, returns true if it is valid, false otherwise.

Description

This behaves as validation on blur or keyup, but returns the result.

Usage

Validator.element( element )

element (Selector)

An element to validate, must be inside the validated form.

Examples

Triggers element validation programmatically.

var validator = $( "#myform" ).validate();
validator.element( "#myselect" );