how can I update a main browser window, after I opened a new window. It should work like a dialog window, which gets user input and then updates the content of the main (parent) window.
sub.htm
<script>
function update(){
window.opener.myForm.myField.value = document.subForm.subField.value
window.opener.focus()
window.opener.alert("updated"
self.close()
}
<form name="subForm">
<input name="subField">
<input type=button onClick="update()" value="Send It"> Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.