...

View Full Version : Javascript redirect back



Andy92
12-20-2006, 12:36 AM
Hi there,

I know in javascript you can redirect to a new page by using...

<script language="JavaScript">
<!--
window.location="http://www.anotherpage.com/";
// -->
</script>

But is there anyway of automatically redirecting the browser back?

_Aerospace_Eng_
12-20-2006, 12:42 AM
You can call

history.back();
which should take the browser back one page.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum