Closed naktieuthu closed 8 years ago
I'm also interested in this.
@naktieuthu @nonameolsson What if I added a callback to the options object that would essentially wrap a change event? Does that sound like something that would get you what you need?
$('.flagstrap').flagStrap({
onSelect: function(value, element) {
// do stuff
}
});
@sixlive Yes! :)
@nonameolsson awesome, I'll get a PR together this weekend.
Added by Merge #10
I want to get the value from select box. By value here, I mean the ISO alpha2 for countries, for example:
'us': united states 'af': afghanistan 'cn': china
etc...
So, I want to get those us, af, cn .....value. How can I do that ..?