Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple alert box question.

Status
Not open for further replies.

KevinFSI

Programmer
Nov 17, 2000
582
US
What is the proper syntax for displaying an alert box (I know how to do that part) where the user clicks "OK" and the browser is directed to a new page?

Thanks in advance... Kevin
slanek@ssd.fsi.com
 
alert('you are going to a new page/');
window.location = 'newpage.htm'; luciddream@subdimension.com
 
Duh!!! Thanks a million. I needed that little kick in the pants. Works great! Kevin
slanek@ssd.fsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top