JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / options type / debug Option
In This Topic
    debug Option
    In This Topic
    Enables debug mode. If true, the form is not submitted and certain errors are displayed on the console (requires Firebug or Firebug lite). Try to enable when a form is just submitted instead of validation stopping the submit.
    var options; // Type:  jQuery.validator.options
    var instance; // Type:  jQuery.validator
    instance = $(".selector").validate(options);
    var value; // Type:  boolean
    // Get value
    value = instance.debug;
    // Set value
    instance.debug = value;
    var debug : boolean;
    Browser Compatibility
    See Also