Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Update of New Window

Status
Not open for further replies.

tempoman

Programmer
May 9, 2000
41
0
0
AU
Can someone help me with my problem.

I have a form which is opened as a new window for people to submit new details. People can then close the window after it has been update. My problem is that if they click to update these fields again, the new values are not updated in the new window, you need to refresh to get the old values. Is there a way I can set it so I don't need to refresh the page.

Thank You

Richard

My script for opening a new window:

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
win.window.focus();
}
</script>
 
If you have the data on the main window in text boxes it is pretty easy to update them. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top