$input.disabled = true;
or
$input.disabled = \"disabled\";
Which is the standard way? And, conversely, how do yo
Approach 4 (this is extension of wild coder answer)
txtName.disabled=1 // 0 for enable