I know that you can use this example syntax to set the value of a text box, radio or other form element:
document.myform.theelement.value = "Whatever..."
But is it possible to do this on another page without reloading the page?
Here is why I ask:
I want a visitor to click on a link to open a pop-up window. Within the window will have various choices. When the form on the pop-up window is submitted, that window closes and sends the value of whatever is selected to a form element on the opening page...the trick being not reloading the main page:
Any suggestions? Thanks in advance for the help!
document.myform.theelement.value = "Whatever..."
But is it possible to do this on another page without reloading the page?
Here is why I ask:
I want a visitor to click on a link to open a pop-up window. Within the window will have various choices. When the form on the pop-up window is submitted, that window closes and sends the value of whatever is selected to a form element on the opening page...the trick being not reloading the main page:
Any suggestions? Thanks in advance for the help!
Comment