[nycphp-talk] More Client-Side Grief
D C Krook
dkrook at hotmail.com
Tue Oct 29 12:21:14 EST 2002
Hans,
Sorry, this one may be more useful. You can set the flag by putting
"submit=true" in the form action if you are POSTing, or in a hidden form
field if you are GETting:
Call:
<body onload="submitClose(this);">
// Check the URL for the submit flag, close the window, and reload the
parent window.
function submitClose (winPop) {
var strPath = location.href;
if (strPath.search("submit") > -1) {
closeReload(winPop);
}
}
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
More information about the talk
mailing list