-
-
Save ironicmoka/44b1b8d0b4aed341351bb4e2e2c17e39 to your computer and use it in GitHub Desktop.
HTML: Autosubmit form through POST request
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
<form name="myform"> | |
<input type="hidden" name="var1" value="5" /> | |
</form> | |
<script type="text/javascript"> | |
document.myform.submit(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment