Looked and found solutions with broken links or that did not work for me, that said I am using the multiselect found here http://abeautifulsite.net/blog/2008/04/jquery-multiselect/ I need to get the selected checkboxes when I hit a button to use them in c#, I am totally stuck on this one and the example used in the demo that does it is in php :-(
JQuery:
$(document).ready(function () {
$("#EGM").multiSelect({ selectAll: false, oneOrMoreSelected: '*' });
});
Control:
<select id="EGM" multiple="multiple" style="width: 100px;">
<optgroup label="EGM">
<option>data</option>
<option>driven</option>
<option>dropdown</option>
</optgroup>
<optgroup label="System Type">SystemType
<option>data</option>
<option>driven</option>
<option>dropdown</option>
</optgroup>
</select>
Where I need my selected values in the code behind:
protected void SubmitButton_Click(object sender, EventArgs e)
{
//what goes here?!?
}