i want to make the chociebox uneditable that is the option selected shuld not change after we click a button...
plz help me.
Thanx in advance
plz help me.
Thanx in advance
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
function disable()
{
document.getElementById("dropdownlist").disabled = true;
}
</script>
</head>
<body>
<form id="form1" action="">
<div>
<select id="dropdownlist">
<option>123</option>
<option>234</option>
</select>
<input type="button" value="Click" onclick="disable()"/>
</div>
</form>
</body>
</html>
Comment