Welcome to jquery-asp.net!

This site covers asp.net and jquery topics. From the beginner point to the very far levels of usage in both languages.

As the Asp.net was used far before the JQuery, there was a beginning era of javascript use instead. But it was really impractical and time-consuming to use javascript. Thus it was not used deeply in the applications.

After the development of JQuery and newer versions of the Asp.net they well go together in the applications in several options.

JQuery can be used in the Asp.net pages just to user friendliness or few attractions or for programming deeper levels at the client side.

There are various advantages of using JQuery in your applications

  • JQuery simplifies the JavaScript programming.
  • JQuery is a javascript library that runs in every browser and versions.
  • With Jquery very neat pages and animations can be made.
  • You can select any existing or created element on the fly and change its attribute or behaviour.
  • JQuery with ajax or json enables a data connection for read/write
  • It is very attractive to implement data validation with the help of JQuery.
  • There are so many anonymously used plugins of JQuery with which there can be made many uses from validation to slideshows etc.

JQuery Startup

  • Load the library by using   <script type="text/javascript" src="jquery-1.8.1-min.js"></script> command.
  • Use the $( document ).ready() function to make sure all the document elements are ready to execute. After the document ready.
  • Write your JQuery code within the $( document ).ready() function. This will make sure your code will run safely.

Adding JQuery your pages

Adding JQuery means adding the JQuery library reference to your pages. For this you have two options

Check JQuery

After adding JQuery library to your page you might like to be sure if it is loaded safely. Then you can check it with a tiny javascript code.

JQuery Selections

When using JQuery in your pages main part of it to select domain objects by several ways. Selections are the key part.

$( document ).ready()

A page can't be manipulated safely until the document is "ready." jQuery detects this state of readiness for you.$(document).ready() will provide this function.