<script type="text/javascript"> function changetextbox()
{ if (document.getElementById("ddl").value === "noy")
{ document.getElementById("txt").disable='true'; }
else { document.getElementById("txt").disable='false'; }
}
</script>
<select id="ddl" name="ddl" onChange="changetextbox();">
<option>Yes</option> <option>No</option>
<option>No, but planning in future</option> </select>
<input type="text" name="txt" id="txt" />