Dropdown list in table
Dropdown list in table
I've got the problem in my project. I use the DataTable plugin in my project. I have table, where data are load from database. Each row have a drop down list.
If I load the page my table have a 10 rows, and this select work correctly, but if I click paginate button, and load other data my dropdown list doesnt work. If I page, sort, or use prev next buttons the event is ignored. Actually it does not work at all. I do not know what might be the cause.
Please, someone help.
cnt3 - select
$('.cnt3').on('change', '', function (e) {
var valueSelected = this.value;
alert(valueSelected);
});
for example : http://jsfiddle.net/f0j8nuLw/