PHP, MYSQL, CSS, LINUX TUTORIALS

Introduction of jQuery

What is jQuery?

jQuery is a Javascript library that simplifies the management of an HTML document: navigation, event handling, animation, web development, Ajax interactions etc. The aim of this library is to change (for good) how Javascript interact and leave their mark on our work.

There is nothing to comment when we say that we get the same effect with javascript, but perhaps it will take “a little” to make an implementation of that kind.

Behind this platform an army of people working extremely well trained, ensuring regularextremely vital to improve this technology, I can tell you. They must do something to thank the jQuery.

Why to use this library?

The obvious question in any situation. There is something better? I do not know how to answer this question. Maybe the fact that the file size is 19Kb dependent (reduced,compressed) or some, support for CSS 1-3 and browsers IE 6 +, Firefox 2 +, Safari 2+, Opera 9.0 + and Chrome can help you answer single question.

Another advantage of this platform is the sheer volume of articles and tutorials have been written about this technology and very comprehensive documentation of thislibrary. I think this may be another advantage of the platform.

jQuery code example

Right, we arrived at this step that will show the power of this library.

View Code JAVASCRIPT
jQuery(document).ready(function() {
    jQuery("#example").click(function() {
        jQuery("p.test").addClass("author").show("slow");
   });
});

And if you click on the box above you can see a live example of jQuery.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>