jQuery Referrer Back Link


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //jquery
  2. var hist = document.referrer;
  3. 4.$("#hist").append('<a href="'+hist+'">Go Back</a>');
  4.  
  5.  
  6. //html
  7. <div id="hist"></div>

URL: http://www.codespuds.com/jquery-referrer-back-link/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.