onChange how to

G

Guest

Hi, I need to change this code so that when this checkbox is selected;

<input type="checkbox" name=becomeMember value=1 >
Yes, I would like to become a Member of Orange Wine Club for
$22 per annum.

This field further down the page is changed to 22. If it is unselected again
it should change back to 0.

<tr>
<td align=right><b>Member Fee:</b></td>
<td>$<input type="text" maxlength=4 name="memberfee" size=10><input
type=hidden name="memberfee_final" value=""></td>
 
B

Brock Allen

So handle the checkbox's OnChecked event and set its AutopostBack=true. Then
do your logic server side.
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top