Putting Script Directly in the onclick Event Handler
<html> <head> <title>Page with Pushbutton</title> </head> <body> <form> <input type="SUBMIT" name="BUTTON1" value="PUSH" onclick="alert('pushed')"> </form> </body> </html>