I have a Select
Option which I am disabling through javascript like below
document.getElementById('CmbDepartment').disabled = true;
But after disabing what happens is, the value in the database is saved as 0
.
And after removing the disable part my value is getting saved properly.
But I want to disable the
Select
list.
Here is my HTML of the Select
list
<select id="CmbDepartment" runat="server" style="width: 25%" onchange="FunEmpFill()">
<option value="0">--Select--</option>
</select>
So is there any other way to deal with this ??