Created
July 18, 2012 12:20
-
-
Save stanwu/3135879 to your computer and use it in GitHub Desktop.
javascript go to URL
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 href="javascript:go2url('contact.php');" ondblclick="alrt('You double clicked on the link')">HERE</a> | |
<script> | |
function go2url(myURL) | |
{ | |
//alert (clickBusy); | |
if (clickBusy == 0 ) { | |
document.location.href=(myURL); | |
clickBusy = 1; | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment