locked
Jquery MultiSelect RRS feed

  • Question

  • User-1499457942 posted

    Hi

      How to restrict Height of Jquery multiselect

    Thanks

    Wednesday, November 28, 2018 4:06 PM

All replies

  • User1724605321 posted

    Hi JagjitSingh,

    There is a lot of  jquery multiselect plugins exist , which one do you want to restrict height ? And have you tried to use F12 developer tool to trace the css of select , set "height" properties on relate item ?

    Best Regards,

    Nan Yu

    Thursday, November 29, 2018 5:21 AM
  • User-1499457942 posted

    Hi

    $('[id*=lst_Emp]').multiselect({
    includeSelectAllOption: true

    });

    Thanks

    Thursday, November 29, 2018 6:43 AM
  • User-2054057000 posted

    Your multiselect has an id of lst_Emp so just add the below code in your css file:

    #lst_Emp{

        height: 50px;

    }

    Thursday, November 29, 2018 10:24 AM