You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The Boolean weblet represents boolean values. The weblet generates an <input type="checkbox"> element in the HTML source which jQuery Mobile then converts into a sliding switch.
The Boolean weblet is the default weblet for boolean fields but it can also be used with any field that has only two valid values (for example: Sex) by configuring the trueValue and falseValue properties appropriately.

  • No labels