Mega Code Archive

 
Categories / JavaScript DHTML / Event Onmethod
 

OnClick Example

<html> <body> <input type="text"         name="textfield"         onclick="alert('You clicked an input text field')"         value="Click me"> </body> </html>