Home Apache PHP Ubuntu MySQL Linux HTML Win CSS Perl Javascript Rants Retro
 
Print This Page
Date Posted: Tuesday 02nd of February 2010 | Category: Javascript
Javascript alert box
To create a pop up alert using Javascript, just copy and paste the code below.

<form name=myform>
<input type=button value="Try it now"
onClick="alert('You just clicked the button')">
</form>