JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / onkeyup Option
In This Topic
    onkeyup Option
    In This Topic
    Validate elements on keyup. As long as the field is not marked as invalid, nothing happens. Otherwise, all rules are checked on each key up event.
    Syntax
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    
    var value; // Type:  boolean
    
    // Get value
    value = instance.onkeyup;
    // Set value
    instance.onkeyup = value;
    var onkeyup : boolean;
    Browser Compatibility
    8
    5
    5
    See Also