Last active
January 26, 2018 23:00
-
-
Save andreburto/c3815ce93d20b8bb9e5071fa493c7403 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> | |
| <head> | |
| <title>Polyglot</title> | |
| <hta:application applicationname="Polyglot" scroll="no" singleinstance="no" /> | |
| <script type="text/vbscript"> | |
| Sub Window_onLoad | |
| window.resizeTo 250,250 | |
| End Sub | |
| Function clickMe1 | |
| MsgBox("Click 1") | |
| clickMe2() | |
| End Function | |
| Function clickMe3 | |
| MsgBox("Click 3") | |
| End Function | |
| </script> | |
| <script type="text/javascript"> | |
| function clickMe2() { | |
| alert("Click 2"); | |
| clickMe3(); | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <p><input type="button" onclick="clickMe1()" value="Click me!" /></p> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment