I'm using some JavaScript to open a child window for data verification purposes before my user completes a form.
I have 2 fields that are passed to this child window, one is a text field, the other a radio button:
<form name="myform">
<input type="text" name="enum">
<input type ="radio" name="division" value="1">
<input type ="radio" name="division" value="2">
<input type ="radio" name="division" value="3">
<input type="button" name="Check Data" onclick="javascript:child_window()">
With a function called 'child_window' defined elsewhere in the script that looks similar to:
function child_window() {
var chk_enum=document.myform.enum.value;
var chk_dvsn=document.myform.division.value;
window.open(blah,blah)
}
The window that gets opened is a Coldfusion page with the values passed as url values.
The problem that I am experiencing is that no matter what I do, I can't get the radio button value to pass across. The text field goes just fine.
As an added layer of difficulty I need this to function in both IE *and* Netscape.
Thanks!
I have 2 fields that are passed to this child window, one is a text field, the other a radio button:
<form name="myform">
<input type="text" name="enum">
<input type ="radio" name="division" value="1">
<input type ="radio" name="division" value="2">
<input type ="radio" name="division" value="3">
<input type="button" name="Check Data" onclick="javascript:child_window()">
With a function called 'child_window' defined elsewhere in the script that looks similar to:
function child_window() {
var chk_enum=document.myform.enum.value;
var chk_dvsn=document.myform.division.value;
window.open(blah,blah)
}
The window that gets opened is a Coldfusion page with the values passed as url values.
The problem that I am experiencing is that no matter what I do, I can't get the radio button value to pass across. The text field goes just fine.
As an added layer of difficulty I need this to function in both IE *and* Netscape.
Thanks!