Hi All,
I have few controls on my model dialog box. i want to disable all controls at a time lets say disabling dialog box when something is processing.
Is there a way to do that using java script???
Thanks, kishore.
<i> </i><script> function disableElement(id) { document.getElementById(id).disabled = true; } </script> <input type="text" value="some Text" id="txtName"/> <input type="button" value="Diable" onClick="disableElement('txtName')"/>
Help @kishorecsit spread the word by sharing this article on Twitter...