This example show you how to:
<select id="country_id" class="mSelect" multiple="multiple"></select>
$(function () {
$('#country_id').mSelect({
url: 'ajax/example1.php',
onDropdownShow: function() { // callback functions
// do something here...
console.log("mSelect opened");
alert("mSelect opened");
}
});
});