Created
June 27, 2010 17:34
-
-
Save jnugh/455039 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a id="yourlinkID" href="go.php?href=http://test.de">Link</a> | |
<script type="text/javascript"> | |
document.getElementById('yourlinkID').href="http://test.de"; | |
document.getElementById('yourlinkID').onclick = function(){ | |
document.location.href = "go.php?href=http://test.de"; | |
return false; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment