i am trying to add a new event to the select box, i had seen many jquery codes here on stackoverflow, but the one does not seems what i am trying to do:
here is my code try:
if ($("#Filters").find("select[multiple='multiple']").length != 0){
$("#Filters").find('select[name="myselect"]').removeAttr('onChange');
$("#Filters").find('select[name="myselect"]').attr('onChange','onmultipleoptions');
}
I want to remove the onchange and then add again the onchange with new function called as onmultipleoptions()..
Guide