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
Easy as pie.
$(document).ready(function() { var referrer = document.referrer; });
Hope it helps. It is not always available though.