Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace form element with image?

Status
Not open for further replies.

49er

Programmer
Aug 24, 2000
38
US
I have a form that contains 2 checkboxes and a radion button. What I would like to do is if the user checks the first checkbox then the 2nd checkbox appears "greyed out." The greyed out checkbox is a .gif image that I created. Does anybody have any suggestions on how to accomplish this? Is there a better way of going about this? Thanks for any help.
 
in IE and NS6 you can use:

checkboxid.disabled=true;

otherwise, for NS4.X, you would have to have it inside a layer, and then use document.layers.layername.document.write("newcontent") jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top