function multiSelect(id) {
    $(id + '>option').mousedown(function (e) {
        e.preventDefault();
        $(this).toggleClass('selected');

        $(this).prop('selected', !$(this).prop('selected'));
        return false;
    });
}
/**
 * Select more then one elements
 * @param id
 */
Select more then one elements
@param id
Select more then one elements @param id
function multiSelect(id) {
    $(id + '>option').mousedown(function (e) {
        e.preventDefault();
        $(this).toggleClass('selected');
        $(this).prop('selected', !$(this).prop('selected'));
        return false;
    });
}
function multiSelect ( id ) { $ ( id + '>option' ) . mousedown ( function ( e ) { e . preventDefault ( ) ; $ ( this ) . toggleClass ( 'selected' ) ; $ ( this ) . prop ( 'selected' , ! $ ( this ) . prop ( 'selected' ) ) ; return false ; } ) ; }
Select more then one elements
 @param id
Select more then one elements @param id