SwitchΒΆ
jQuery Plugin
$.fn.pgswitch()
jQuery data key
IU_WIDGET.SWITCH
- Example
var Switch = $('#id').data(IU_WIDGET.SWITCH)
Method
Method Description .toggle(state)
Change 1st item to 2nd item Method Detail
Method Param Type Description .toggle(state)
state bool Show 2nd item if state is true, hide 2nd item otherwise