[ACCEPTED]-Jquery multiselect event handler-html

Accepted answer
Score: 11

Try using the onchange event.

$('#mySelect').change(function(){
    alert($(this).val());
});

0

Score: 3

Would .change() do the trick?

http://api.jquery.com/change/

Certainly there 2 seems to be a working demo of a multi-select 1 box on that page...

Score: 0

jquery 1.4: $("#mySelector").change(myChangeEvent); before: $("#mySelector").bind("change", myChangeEvent);

function myChangeEvent(e){

}

0

More Related questions