views:

50

answers:

1

how to get the previous page URL in IE using javascript where the condition is history.back shouldn't be used & REFERRER is not working.

A: 

history.previous should give you the URL of the previous page without actually going there. It seems though that there are some security issues with that; I got "permission denied". Another thing to try is history[0].

JacobM
i tried but its nt working.
Arko
Updated to add another option.
JacobM
for the both case the permission is denied in IE7 and Mozila Firefox.
Suvonkar

related questions