I am trying to use a variable set inside my page that will change the address of the next page.
For ex: page1 has a radio group, lets just say 1,2,3,4. If I choose 1 I go to page2 and so forth.
Does anyone know the proper syntax for doing this?
Here is some of my code.
<input type="radio" id="model" name="model" value="1" />1<br />
<input type="radio" id="model" name="model" value="2" />2<br />
//and here's the java script
var value = document.getElementById('model').value;
if (value == '1')
else if(value == '2')