JQuery Validation Library (Document! X Sample)
jQuery.validator Namespace / methods type / digits Method
In This Topic
    digits Method
    In This Topic
    Makes the element require digits only.
    Syntax
    var value; // Type: Boolean
    value = jQuery.validator.methods.digits();
    function digits() : Boolean;
    Browser Compatibility
    8
    5
    5
    See Also