Add Switch On/Off Options with Jquery Switch Plugin

May 14, 2013

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

Muhammad Dilawar
Muhammad Dilawar
Muhammad Dilawar is a WordPress developer and technical SEO specialist with over 12 years of experience building, optimizing, and maintaining websites. He specializes in WordPress, WooCommerce, server optimization, DNS, Cloudflare, website security, and performance improvements. Through Softstribe, he shares practical guides, tutorials, and industry insights based on real-world experience helping businesses grow their online presence.
More from Muhammad Dilawar