mannevenu
asked on
disable controls in mozilla firefox using javascript
I used this code but i was unable to disabled the controls in mozilla firefox.
<script type="text/javascript">
function DisableControls(el)
{
try
{
el.disabled = true;
}
catch(E){}
if (el.childNodes && el.childNodes.length > 0) {
for (var x = 0; x < el.childNodes.length; x++) {
DisableControls(el.childNodes[x]);
}
}
}
DisableControls(document.getElementById("<%=pnlQuestions.ClientID %>"));
</script>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.