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 Swap variables in JS
JavaScript Simple Input Clock
JavaScript Input text select
JavaScript Complex Number Class
JavaScript Drop Menu
JavaScript Animation Using the onLoad Event Handler
JavaScript Cursor Location
JavaScript Page Location
JavaScript Disable input on submit
JavaScript Visit counter