Hi, i want to use javascript code to enable/disable the textbox on selection of value from drop down list. My javascript code is not working.
JavaScript
type="text/javascript">
function changetextbox() {
if (document.getElementById("mfi_4_a_i").value === "noy")
{ document.getElementById("sdd").disable='true';
} else {
document.getElementById("sdd").disable='false'; }
}
Nilesh ShahRank #42 · 34.2K reputationPosted Mar 8, 2017, 5:59 AM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Mar 8, 2017, 5:51 PM EST
S PRank #5,790 · 286 reputationPosted Mar 8, 2017, 5:05 PM EST