How did you use jQuery in ASP.Net Application? Explain with an example Breafly?


Download the latest jQuery library from jQuery.com http://docs.jquery.com/Downloading_jQuery.
Add reference to the jQuery library file in ASPX page / Master page that uses jQuery.
view sourceprint?
1.<script src="_scripts/jQuery-1.5.js" type="text/javascript"></script>
2.<script language="javascript">
3.$(document).ready(function(){ $("a").click(function(event)
4.    { alert("Welcome to jQuery"); }); });
5.</script>

0 comments:

Post a Comment