aspdotnet-suresh offers articles and tutorials,csharp dot net, articles and tutorials,VB.NET Articles,Gridview articles,code examples of 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

jQuery Show Alert Message using

Nov 16, 2012

Here I will explain how to show or display alert message using jQuery in

In previous articles I explained many articles relating to jQuery. Now I will explain how to show or display alert message using
jQuery in

By using jQuery Plugin We can implement this functionality for that we need to write the code like this

<html xmlns="">
<head runat="server">
<title>jQuery Show Simple Alert Message Example</title>
<script src=""></script>
<script type="text/javascript">
$(function () {
$('#btnClick').click(function () {
alert('Alter with jQuery Button Clicked');
<form id="form1" runat="server">
<input id="btnClick" type="button" value="Click" />
If you observe above code in header section I added one script file by using that we can interact with jQuery and we have a chance to implement required things. Here I written code like show alert message when we click on button. 

Live Demo

To see live demo click on below button it will show alert message 

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest,, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email


gnosys said...

Another tip, if you use instead of (input type="button") you will also need to set the clientIDMode to static in order to call it by the same name/id in jquery.

Give your Valuable Comments

Other Related Posts

© 2015 All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.