alert button




JavaScript Source Code 3000: Buttons: Alert Button





























Alert Button








This is probably the simpliest Button JavaScript. Copy 4 lines of HTML into your document and you have a button alert! The button can have different words on it and the message can also be customized.












JavaScript Source Code 3000: Buttons: Alert Button
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!




    





<!-- ONE STEP TO INSTALL ALERT BUTTON:

1. Paste the coding into the BODY of the HTML document -->

<!-- STEP ONE: Copy this code into the BODY of your HTML document -->

<BODY>

<CENTER>
<FORM>

<! >
<! >

<INPUT TYPE="button" VALUE="Click here to be alerted"
onClick='alert("There. You have been alerted.")'>
</FORM>
</CENTER>



<!-- Script Size: 0.50 KB -->











Wyszukiwarka