/ Published in: jQuery
URL: http://www.codespuds.com/jquery-referrer-back-link/
Expand |
Embed | Plain Text
//jquery var hist = document.referrer; 4.$("#hist").append('<a href="'+hist+'">Go Back</a>'); //html <div id="hist"></div>
Comments
Subscribe to comments
You need to login to post a comment.

Beware: document.referrer is not always set. If it is not set, you may want to add an alternate link.