ch.String (Class)
Documentation updated on Mon Mar 12 2012 17:48:12 GMT-0300 (GMT-03:00), generated by JsDoc Toolkit 2.4.0
Contents
Overview
Validate strings.
- Constructor name: ch.String(message)
- ch.String extends ch.Controls.
- View source on GitHub.
Summary
Fields borrowed from class ch.Controls: createFloat,that
Fields borrowed from class ch.Uiobject: DOMParent,originalContent,position,staticContent
Methods borrowed from class ch.Uiobject: content, prevent
Methods borrowed from class ch.Object: callbacks, off, on, once, trigger
Classdetail
Parameters
-
message: String, Optional. Validation message
Returns
- itself
Requires
See
Examples
// Create a string validation
$("input").string("This field must be a string.");