<HTML> <HEAD> <SCRIPT language="JavaScript"> function send_alerts() { window.alert("Hi!"); } </SCRIPT> </HEAD> <BODY> <FORM> <INPUT type="button" value="Click Me" onClick="send_alerts();"> </FORM> </BODY> </HTML>