how to cancel a toggle change via javascript
Posted: Thu Apr 02, 2015 10:18 pm
on click/press of a toggle i want to make an api call and only if it succeeds have the toggle change state, i can only seem to get javascript events to execute for the value change event and that is too late as the toggle has moved. any ideas?