Created
February 19, 2012 07:01
-
-
Save ageldama/1862311 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
| <script type='text/javascript'> | |
| function foo() { | |
| var name = document.all['name'].value; | |
| alert("HI! " + name); | |
| } | |
| </script> | |
| <input type='text' id='name' name='name'> | |
| <input type='button' onclick='javascript:foo()'> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment