Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Team,
I have the Code as follows:
SQL
<select id="batchIDSelect" class="combo100">
                        </select>


Secondly, I am using this function as follows:
$(function () {
        $("select").multiselect();
        });


By using this function ,I am getting the checkbox on the BatchID before the value which i want to select in BatchID .But The problem is i want to checked the checkbox more than one id in batchId .How is it possible ?
For Example:I have the BatchId 1,2 .If I checked the checkbox on 1 and 2 it should give the records related to batchID 1 and 2.

What changes i need to make in my Function ??
Please Guide ME.

Thanks
Harshal
Posted
Updated 28-Apr-14 1:27am
v3
Comments
Not clear. Do you want to check more than one option from the DropDownList? What is the exact problem here? Which jQuery Plugin you are using?
R Harshal 28-Apr-14 7:39am    
Yes i want to check more than one option from the DropDownList .not the issue with Jquery Plugin .
R Harshal 28-Apr-14 8:03am    
i have the Jquery plugin as follows: which is working fine.
<asp:ScriptReference Path="~/scripts/bootstrap-multiselect.js" />
<asp:ScriptReference Path="~/scripts/jquery-1.10.2.js" />
<asp:ScriptReference Path="~/scripts/jquery-ui.js" />


1 solution

I need to pass
multiple="multiple"

<select id="batchIDSelect" class="combo100" multiple="multiple">

its working for me.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900