I have a list box in my page..
<td><%=Html.ListBox("listServiceTypes", Model.ServiceTypeListAll, new { style = "width: 500px;height:200px;" })%>
I need to disabled selecting multiple items from the list box? I am doing something like selecting one item and click delete button my page its delting one item from list box.. but If I select multple Items its throwing an error message/.?
Can any body help me out how to deactive or disable multiple items from list box
<select multiple>...
if so, just call$('#mySelect').removeAttr('multiple');
– Hadfield