Created
February 1, 2019 17:42
-
-
Save int0x33/a5b7c3460c1d897563cc53a61da1e7e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>submit demo</title> | |
| <style> | |
| p { | |
| margin: 0; | |
| color: blue; | |
| } | |
| div,p { | |
| margin-left: 10px; | |
| } | |
| span { | |
| color: red; | |
| } | |
| </style> | |
| <script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
| </head> | |
| <body> | |
| <p>Type 'correct' to validate.</p> | |
| <form action="javascript:alert( 'success!' );"> | |
| <div> | |
| <input type="text"> | |
| <input type="submit"> | |
| </div> | |
| </form> | |
| <script> | |
| </script> | |
| <script> | |
| var name = "<?php echo $_REQUEST['payload']; ?>"; | |
| var age = 43; | |
| console.log(name + " is " + age + " years old"); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment