Can anyone tell me how to pass variables from a form to a pop-up window? Let's say I have 5 radio buttons on a form... User checks one item and presses submit button.. It opens a pop-up window to show the result..
TIA..
I assume you know how to make your window pop up (window.open most likely)
Just add the variables you want to have in it to the url you pass in open function, as a standard query string (like ?value1=...&value2=....)
this might also work (never tried):
window.parent.PopUpForm.SomeField.value = window.opener.form.FromSomeField.value;
but this will work; if you want values from popUp to opener form window.opener.form.field.value = someVariable;