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!

pb with Alert() and refresh right after!!

Status
Not open for further replies.

Inandjo

Programmer
Dec 7, 2001
46
FR
hi,
i'm trying to have an alert() on a page then after you click on the OK button of the alert(), it should bring you back to the page you were coming from.
that page is like this:
....
</title>
<meta http-equiv='refresh' content'1; url=http://dir'>
</head>
<body onload='alert(&quot;something something...&quot;)'>
..........

Can somebody help me achieve this???
 
As simple as this ? :

onload=&quot;alert('something something...'); history.go (-1);&quot; Regards

David Byng

spider.gif


davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top