Example 02:

This example show you how to:

  • Load the plugin
  • Custom the Name of the column (instead of Name)

HTML:
<select id="country_id" class="mSelect" multiple="multiple"></select>
JS:
$(function () {
    $('#country_id').mSelect({
        url: 'ajax/example1.php',
        columns: ['Country Name'] 
    });
});