jQuery-switchButton
jQuery-switchButton copied to clipboard
What are the jquery and jqueryui requirements?
I'm currently unable to get this to work:
$("input[type=checkbox]").switchButton({ checked: false, on_label: "Reviewers and Document Owners", off_label: "Reviewers" });
The errors I'm seeing in Chrome are:
ui.core.js:111 Uncaught TypeError: Cannot set property 'switchButton' of undefined at Function.$.widget (ui.core.js:111) at jquery.switchButton.js:42 at jquery.switchButton.js:306
Did you ever figure this one out? I assume it's due to the fact this is a few years old. Was looking for a solution to this issue to save time.
It doesn't work for me either and I don't even get a console error.