Click to See Complete Forum and Search --> : Selection box alerts


Tricky123
12-16-2002, 06:13 AM
Hi, can anyone help with a selection box querry,

I wish to make an different alert for each time a user clicks on a different selection box item.

eg if the user clicks on item number one, they get alert 1, if they select alert two they get message 2 and so on.

Is this possible for radios and checkboxes in a group?

cheers

Tricky

Zach Elfers
12-16-2002, 09:13 AM
<input type="radio" name="radioset" onClick="alert('contents');">

Repeat that for each button you have.