I am trying to create a link in JS that moves the person the page from where he has come from. Here is the code.
<script language="javascript">
function Jump()
{
document.href=document.referrer;
}
</script>
Here is the html,
<a href="#" onclick="Jump();">Skip and Continue</a>
Now when the user clicks on the link, nothing happens. Please guide me where I am doing wrong. Thanks