jquery - Semantic ui checkbox strange bahaviour -
i'm trying ti use semantic ui checkbox, behaves strange. have click somewhere out of checkbox, make it's background change color regardless of state
[https://jsfiddle.net/6393n6e9/][1]
it works ok on semantic ui website in same browser
[http://semantic-ui.com/modules/checkbox.html#/definition][2]
what missing?
i have not included semantic package fiddle, on dev environment, have initialize checkbox this:
// affect elements have classes ui & checkbox $('.ui.checkbox').checkbox();
or
// affect 1 need, if has id specified $('#mycheckbox').checkbox();
also make sure semantic-ui files loaded, , typos (this got me last time, lol)
Comments
Post a Comment