tags:

views:

62

answers:

1

Hi,

I have used history.back(1) function of javascript to previous page.

and i have linked this function to my back , it working fine.

But when i click the back button a js alert is showing

"To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."

I don't want to show this alert ..

How can i remove this alert, or is there any other functio like this without alert..

Please help me

A: 
whenever you leave a page store that link in some cookie and on target inspite of using history.back(1), use 
location.href=extractLinkFromCookie();

function extractLinkFromCookie()
{
//some mechanism to read previous link from cookie
}
Praveen Prasad