jQuery-switchButton icon indicating copy to clipboard operation
jQuery-switchButton copied to clipboard

What are the jquery and jqueryui requirements?

Open ebeyrent opened this issue 8 years ago • 2 comments

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

ebeyrent avatar Jan 17 '17 20:01 ebeyrent

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.

aedwill avatar Mar 13 '17 03:03 aedwill

It doesn't work for me either and I don't even get a console error.

jorvis avatar Jan 29 '18 19:01 jorvis