So correct solution for my problem should look like this:
<a onclick=javascript:showMessage() href="#" >Test</a>
<script language="JavaScript">function showMessage(){alert("Vaseem Ansari welcomes you, Thanks for Visiting my Blog");}</script>
To work well javascript in blogger post should be in one line.
This is example of JavaScript code that works (click on Test to see):
Test
If the script does not work click here
The JavaScript which makes this possible is
<script language="JavaScript">function showMessage(){alert("Vaseem Ansari welcomes you, Thanks for Visiting my Blog");}</script>
If you're new here, you may want to subscribe to my RSS feed.
Thank you for visiting the CodeMasterz Blog (The Vaseem Ansari creation)!
Inspirational Wallpapers, Galleries, Programming Codes, Hacking Tips, Best Quotes, Latest Gadgets, Blogging tips, Wordpress themes and many more like this one are a regular feature of our blog, so if you would like to receive more inspiration from us, please consider subscribing to our feed by RSS or by Email. And if you would like us to notify you whenever a new post is published on our blog you can subscribe for Mobile alerts.
"When someone shares something of value with you and you benefit from it , you have a moral obligation to share it with others."
Keep visiting us daily.
Still if you have any queries then feel free to contact me at Contact me
0 comments:
Post a Comment