jQuery/Switch is an iOS-inspired slide/toggle widget. It began as an alternative switch for jQuery Mobile, but it also targets desktop browsers as well.jQuery/Switch builds from elements which contain two elements relating to the “on” and “off” states respectively. These can be in any order, but the first will by default be assumed to relate to the “on” state (this can be overridden).