JavaScript >> Scripts and Programs >> Alerts and Prompts >> Hot scripts >> Button Click Call Alert
Version
NA
Author
NA
Platform(s)
NA
Hits
38
File Size
-
Added On
10, Jan 2007
Price
Na
Modified On
10, Jan 2007
Visitor Rating
(0)
Member Rating
(0)
Description
This JavaScript shows a very simple example of how to create a button that does something JavaScript-like in nature when it is clicked. The alert() function is predefined: we could have made our own function and then called it upon the onClick event.