Hi:

I don't know why radio buttons give me fits in Javascript, but they do. Argghh... anyway, I'm trying to set up a form in which the user clicks on a radio button, to which a URL is attached, and then they are taken to that URL when they submit the form. Below is a simplified version that works using onClick, but I don't want it to redirect the user when they click on the radio button. I want it to wait until they submit the form. I know this is easy, but I'm braindead right now... I can't seem to get it properly pass the value of "destination" to a separate function. Can anyone help? Thanks!

<html>
<head>
<title>JavaScript Sample</title>
</head>
<body>
<p>Click One</p>
<form>
<input type="radio" name="destination"
onClick="location.href='page1.html'"> Page 1<br>
<input type="radio" name="destination"
onClick="location.href='page2.html'"> Page 2<br>
<input type="radio" name="destination"
onClick="location.href='page3.html'"> Page 3<br>
</form>
</body>
</html>