Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: Disable check box in netscape.


Message #1 by Subha Gowri <subha@i...> on Mon, 28 Jan 2002 16:09:23 +0530

Hi All, 

Please tell me how to disable a checkbox in netscape. 

I tried the following :

<input type="checkbox" name="test" disabled>

<input type="checkbox" name="test" onFocus="this.blur()"> 

but it didn't work in netscape. 

Thanks,

Subha

Message #2 by "Johan Notenboom" <jnotenboom@y...> on Mon, 28 Jan 2002 13:38:49
Hi Subha,



I use an event which calls a function. this function disables a button 

like this:

document.getElementById("btnExternalSearch").disabled = "true";



it works with MS IE and NN 6.0+



so your statement is probably also working...under the newest version of 

Netscape.



Regards,

Johan





> 

> Hi All, 

> Please tell me how to disable a checkbox in netscape. 

> I tried the following :

> <input type="checkbox" name="test" disabled>

> <input type="checkbox" name="test" onFocus="this.blur()"> 

> but it didn't work in netscape. 

> Thanks,

> Subha


  Return to Index