Forum Moderators: phranque
<script>
function wizard()
{
url = '';
if (document.finder.radio0[0].checked) {
url = url + '1';
} else {
url = url + '2';
}
if (document.finder.radio1[0].checked) {
url = url + '1';
} else {
url = url + '2';
}
if (document.finder.radio2[0].checked) {
url = url + '1';
} else if (document.finder.radio2[1].checked) {
url = url + '2';
} else {
url = url + '3';
}
if (document.finder.radio3[0].checked) {
url = url + '1';
} else {
url = url + '2';
}
url = 'answer.html?' + url + '00';
var win = window.open(url, 'Product');
win.focus();
return true;
}
</script>
Either I didn't totally understood what you want to do, either I find your snippet pretty complicated. (first of all you should your the 'with' method for cleaner code)
Nevermind. To answer your question, you just have to use window.location to redirect a user to a specified page.
in your case
url = 'answer.html?' + url + '00';
self.window.location = url;
return true;
Sepang