Search code examples
javascriptjquerytogglebutton

jquery-toggles setting state without triggering on change event


I'm using the jquery-toggles plugin from simon tabor https://github.com/simontabor/jquery-toggles and need to be able to set the state of the toggle WITHOUT triggering the on toggle event.

Is that possible? If not, is it possible to remove and re-add the toggle using jquery (and set the initial state as needed).


Solution

  • This was not possible. I added to code to create this feature and posted to Git. New capability is now available in plugin