.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> JQuery >> Post New Resource Bookmark and Share   

 Subscribe to Articles

JQuery in Asp.net Web Application : Tutorial

Posted By:Diptimaya Patra       Posted Date: March 28, 2010    Points: 25    Category: JQuery    URL: http://www.dotnetspark.com  

In this Tutorial we will see how we can use jQuery compatible script in a simple web application. jQuery is a buzz word today for writing script behind in mark up.
 

Introduction

In this article we will see how we can use jQuery compatible script in a simple web application. jQuery is a buzzword today for writing script behind in mark up.

Create A Simple Web Application

Create a new web application and name it as JQuerySample.

image1.gif

Downloading jQuery from the below link and the necessary/minimum files to include to run jQueries.

The followings are the minimum files required to run jQuery.

jquery-1.3.2-vsdoc2.js

jquery-1.3.2.min-vsdoc.js

jquery-1.3.2.min.js

We will add the above files into one folder and name it as jQuery.

Add the script reference to the Web Application's header as follows:


We will add a normal jQuery so that we can test the application.

Write any jQuery and run your application.



If you look into the above jQuery you would find out that we have added one TextBox and one Button. If you look into the jQuery more deeply you would understand that we are checking the value of the Text input and validating it.

image2.gif


image3.gif

That's it you have successfully used jQuery in your asp.net application.

Keep scripting.
 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend