View Single Post
  #23 (permalink)  
Old May 25th, 2005, 10:20 AM
ChrisScott ChrisScott is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sure, just do something like...
Code:
<input type="button" value="OK" onclick="returnOk();" />
...
function returnOk(){
    window.returnValue = true;
    window.close();
}
Reply With Quote