Closing a parent window after the alert message
KritiVerma_at_hotmail.com
Date: 03/24/05
- Next message: Stefanie: "Please help: clipboardData.getData"
- Previous message: Kathleen L.: "Re: Access is denied with window.open"
- Next in thread: Agoston Bejo: "Re: Closing a parent window after the alert message"
- Reply: Agoston Bejo: "Re: Closing a parent window after the alert message"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Mar 2005 12:19:04 -0800
I have a Page on which on load prompts an alert message . Now I want that
when the user clicks "ok " on the alert message . The Parent window should be
closed(which is the form that loaded to display a Message box)
my code looks like
function DisplayEOLTicketInfo()
{
var messagetest = "";
var sStatus= "";
sStatus = eworkGetField("sStatus", "");
messagetest = eworkGetField("sEOLTicketInfo", "");
if(sStatus == "Completed" )
{
if (messagetest != "")
{
alert (messagetest);
// window.close()
// parent.window.close() //(I tried this but this does not work)
}
}
}
Please advice
Thanks
Kriti
- Next message: Stefanie: "Please help: clipboardData.getData"
- Previous message: Kathleen L.: "Re: Access is denied with window.open"
- Next in thread: Agoston Bejo: "Re: Closing a parent window after the alert message"
- Reply: Agoston Bejo: "Re: Closing a parent window after the alert message"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|