Knockout Template
<select data-bind="event:{ change: permissionChanged}">
<option data-bind="i18n: 'Yes', value: 'yes'"></option>
<option data-bind="i18n: 'No', value: 'no'"></option>
</select>
Js Function
permissionChanged: function(obj, event){
console.log('value Changed');
},
So basically I want to access the value when the end-user changes the value on the select element.
Currently when the user changes the value in the dropdown then the function is called but I want value there.
Your help will be appreciated. Thanks in advance.