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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -