Nice Info About How To Check If Javascript Is Disabled

Function getbutton () { document.getelementbyid ('button1').disabled=true;
How to check if javascript is disabled. The html </strong> tag is used to handle the browsers, which do recognize To detect if javascript is disabled in a web browser, use the tag. Function checktextbox () { if (document.getelementbyid (textbox1).disabled == true) { //here alert (disabled);
We provided an empty string as. Document.getelementbyid('modifyhostsform:iddnsip0_0').getattribute('disabled') == false you may need to set a variable and then check if it's set or null, so: