Search This Blog

Saturday, June 2, 2012

How To Add JavaScript Alert Box to Your Blogger



1.Login to your Bogger Dashboard and go to Desing >> & Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below

<script type="text/javascript">function show_alert(){alert("YOUR MESSAGE HERE!")}</script><input type="button"onclick="show_alert()"value="Show alert box"/>

Note: Replace YOUR MESSAGE HERE! with your alert message.

Result:



4.Now Save your "Html Javascript" and you are done,

Cheers


Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo

0 comments:

Post a Comment