Here's a quick little example of how to capture the standard windows Ok/Cancel message box return value. <HTML> <SCRIPT language=JavaScript> function MsgOkCancel() { var fRet; fRet = confirm('Are you sure?'); alert(fRet); } </SCRIPT> <BODY> <a href=javascript:MsgOkCancel(); >test me</a> </BODY> </HTML> Submission Date: 9/23/2005 3:01:51 PM Submitted By: Robbe Morris My Home Page: http://www.robbemorris.com