closing and opening new windows

by Nate Harel <nharel(at)>

 Date:  Tue, 03 Jul 2001 10:48:28 -0400
 To:  hwg-techniques(at)
  todo: View Thread, Original
Hi all,

I have been trying to do something that works well in IE but fails in NN.

I have a page that is used to purchase a product. On clicking the submit 
button, I want the current window to kick off a new window and close 
itself. You can see this page at:

The javascript code called for in the Form is listed below:

function selectthisone(setfield, whatisit)
var formset = setfield;


function validate(field, comment)
var formset = field;

if ( formset.value != "" )
         return true;
         window.setTimeout('history.back()', '1500');
         return false;


Thank you. This list has been a lifesaver for me. You folks are great!


			 Nate Harel
		        NetTech Services
		        66 Carol Road
		  Needham, MA  02492-1108
		    Tel: 1-781-559-8176
		 Toll Free: 1-877-567-8936
		   FAX: 1-877-567-8936
		 Email: nharel(at)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA