How to get the previous page url using jquery?
I am using the following code to get the current page location
$(document).ready(function() { var path
If you are using PHP, you can check previous url using php script rather than javascript. Here is the code:
echo $_SERVER['HTTP_REFERER'];
Hope it helps even out of relevance :)