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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Style display javascript - should be simple - help hurry

Status
Not open for further replies.

Technos

Programmer
Mar 15, 2002
47
US
Hey,

I have a checkbox like
Code:
<input type=&quot;checkbox&quot; name=&quot;chkRB&quot; 		onclick=&quot;javascript:display();&quot;>
I have a button which I don't want to show unless user clicks on any of these check boxes

I set
Code:
<input type=&quot;image&quot; src=&quot;btnnormal.gif&quot; style=&quot;display:none&quot; id=&quot;btnDecline&quot; name=&quot;btnDecline&quot;>

then in javascript I have

Code:
function display(){ document.frmGadgetRB.btnDecline.style.display = &quot;&quot;
}

And its not working. Please tell me what to do???
 
this has nothing to do with ASP and should be asked in teh javascript forum
forum216

not trying to be rude jsut trying to find you the help you need _________________________________________________________
for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top