Click here to Skip to main content
15,922,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to JQuery,
I was wondering while doing many things that why do we use JQuery?
Like there are many things like changing attributes..etc can be done in ASP.NET also... I dont understand when should we use it and why should we use it.

Please Guide me..
Posted

You can have a look at these two articles

jQuery is ideal because it can create impressive animations and interactions. jQuery is simple to understand and easy to use, which means the learning curve is small, while the possibilities are (almost) infinite. - http://www.csshook.com/cssexamples/why-we-use-jquery[^]


This articles explains everything...

http://www.webhostdesignpost.com/website/whatisjqueryandwhy.html[^]
 
Share this answer
 
 
Share this answer
 
Comments
tejashri.gandhi 2-Mar-12 7:28am    
Yes I have checked few of them..All of them says "Less coding", "animation", "better effects" etc...
However I think many times stuff can be done with less code in asp.net.. still people tend to use JQuery. i think there must be some other reason other than less coding which I am not able to find out.
Also if user have disabled JavaScript in browser there is no use of JQuery stuff we have added, then why should we use it?
Philippe Mori 2-Mar-12 20:08pm    
Since jQuery operate on client side, you can do a lot of manipulations without going back to server. Thus for any complex interaction and for animation (moving element on the web page or doing some fading), jQuery is fast and powerful.

Well, ideally your web page should work anyway but they might be less elegant or dynamic.
tejashri.gandhi 3-Mar-12 12:54pm    
Thank you so much...this is really satisfactory answer... thank you so much..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900