Created
February 10, 2016 18:13
-
-
Save pirvudoru/803eea81d3a2863e6ac2 to your computer and use it in GitHub Desktop.
Submit Inline Click Handler
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
<html> | |
<head> | |
</head> | |
<body> | |
<input type="submit" value="Submit" id="button1" name="button1" onclick="myFunction()" /> | |
<script> | |
function myFunction() { window.location.href = "page2/test/x.html" } | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment