I think I am on the right track - Javascript Is this correct

F

Frank H. Shaw

Will the conditional in the if statement do the following if the the first
radiobutton named amount in the amount radiobutton group of two radiobuttons
is checked then the 2 lines of HTML code before the else gets excuted if the
second radio button is checked then the 2 lines of HTML code after the ELSE
get excuted. The actual radiobutton HTML code is at the bottom of this
message THANKS

<Script>

IF (amount.[1].checked)
 
F

Frank H. Shaw

I had to fix the typo the amount. the peroid was a typo and should only be
the following: (amount[1].checked)

Will the conditional in the if statement do the following if the the first
radiobutton named amount in the amount radiobutton group of two radiobuttons
is checked then the 2 lines of HTML code before the else gets excuted if the
second radio button is checked then the 2 lines of HTML code after the ELSE
get excuted. The actual radiobutton HTML code is at the bottom of this
message THANKS

<Script>

IF (amount[1].checked)

ELSE

ENDIF





Frank H. Shaw said:
Will the conditional in the if statement do the following if the the first
radiobutton named amount in the amount radiobutton group of two radiobuttons
is checked then the 2 lines of HTML code before the else gets excuted if the
second radio button is checked then the 2 lines of HTML code after the ELSE
get excuted. The actual radiobutton HTML code is at the bottom of this
message THANKS

<Script>

IF (amount.[1].checked)

ELSE

ENDIF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top