javascript - How to use semantic ui "set values" and onChange event together -
i'm having hard time figuring out how add behaviour , onchange event.
here's jsfiddle on how i'm doing doesn't work: https://jsfiddle.net/pbfqzvch/9/
$('select.dropdown').dropdown({ 'set selected': ['angular'], onchange: function(value, text, $selecteditem) { alert('hello'); } })
Comments
Post a Comment