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 with a cfquery top of the page, 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="JavaScript">
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>
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 with a cfquery top of the page, 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="JavaScript">
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>