JqxSwitchButton: Difference between revisions
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
== Properties and Methods == | == Properties and Methods == | ||
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/. | |||
http://www.jqwidgets.com/jquery-widgets-documentation/ | |||
== Example == | == Example == | ||
Latest revision as of 17:20, 7 April 2016
Description
The jqxSwitchButton represents a button widget that switches its checked state after a click. It is very similar to the jqxToggleButton, but it has different UI look.
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.
Properties and Methods
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
Example
Function SwitchButton1_onchange()
MsgBox "Changed!"
End Function
'Set the checked property.
$("#jqxSwitchButton").jqxSwitchButton({ checked:true })
'Get the checked property.
var checked = $("#jqxSwitchButton").jqxSwitchButton("checked")