Add Switch On/Off Options with Jquery Switch Plugin
Jquery Switch Plugin is an iOS-inspired slide/toggle widget which adds on/off, true/false slide options. It works with all major browsers even in Android, Tablets, etc.
Features
- It works with the selected value of the original HTML tag
<select>
- Works fine with more than 1 switch
- Works with “disabled” attribute
- Listens for the ‘change’ event on the original
<select>
- Works on both desktop and mobile browsers (see browser support below)
- Drag or click/tap controls as well as API
.on()
,.off()
, and.toggle()
- Basic keyboard support (tab-enabled,
Enter
to toggle) - Event driven via the “slide” event
Supported Browsers
- IE7+
- Safari
- Opera 10
- Google Chrome
- Firefox