Putting Script Directly in the onclick Event Handler : Button : Form Control JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Form Control » Button »

 

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>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Form Control
» Button