I have this bit of code that does not work on future events:
$(document).on("change","#cboOne","#cboTwo" , function() {
alert("okAll");
}
but if I separate it ... works fine:
$(document).on("change","#cboOne", function() {
alert("ok1");
}
$(document).on("change","#cboTwo" , function() {
alert("ok2");
}
Why the first way do not works? Any idea? tks