CODE
LIBARY.COM
Home
/
JavaScript
JavaScript Click Alert
Click Alert
<INPUT TYPE="button" VALUE="Click here" onClick="alert('Alert!')">
Copy to Clipboard
Related Snippets
JavaScript Suppressing Version-Related Errors
JavaScript Regular Expression Filter
JavaScript Printing
JavaScript Password Protection
JavaScript Requesting a Privilege
JavaScript Text formatting
JavaScript Add To Favourites
JavaScript Expand Window
JavaScript Search in dropdown select
JavaScript Input content change