Introduction to Jquery
In my previous posts I have explained various topics like asp.net, visual studio,C#.Net,Console application
Now in this post, I will explain Introduction to Jquery.
Jquery
jQuery contains fast, small, cross-platform and feature based JavaScript library. It is designed to simplify the client-side scripting of HTML. It makes things like HTML document traversal,css styling, manipulation, animation, event handling, and AJAX very simple.
The main purpose of jQuery is to make effective use of JavaScript on website to make it more interactive and attractive. It is also used to add animation.
Why Jquery?
- jQuery is a small, fast and lightweight JavaScript library.
- jQuery is platform-independent.
- jQuery make it possible to “write less do more”.
- jQuery simplifies AJAX call and DOM manipulation.
- It is very fast and extensible.
- It facilitates the users to write and code User Interface related function codes in minimum possible lines.
- It improves the performance of an application.
- Browser’s compatible web applications can be developed.
- It uses mostly new features of new browsers.
jQuery Features
- HTML manipulation
- DOM manipulation
- AJAX
- HTML event methods
- JSON Parsing
- Extensibility through plug-ins
- DOM element selection
- CSS manipulation
- Effects and Animations
- Utilities
Basic syntax for any jQuery function is:
$(selector).action()
- A $ sign is to define/access jQuery
- A (selector) is to “query (or find)” HTML elements in html page
- A jQuery action() is the action to be performed on the selected element(s)
$(document).ready(function(){
$("button").click(function(){
$(".imgLogo").hide();
};)
});
You can read more about Jquery at its official website here, to get better idea and understanding.
Summary
I hope you get an idea about Introduction to Jquery.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you liked this post, don’t forget to share this.