JavaScript Tutorial - 7 - possible answer to Task 20
type your name please
<html> <head> <title>Say Hello</title> <script> function say_hello() { alert(document.task20.box.value) } </script> </head> <body> <form name=task20> type your name please <input type=text name=box> <input type=button value=ready onClick=say_hello()> </form> </body> </html>
HOME Table of Contents