Theme Graphic
Theme Graphic

Dorothy Shore's Blog - Everything about JQuery

I will be sharing article on Jquery, hope all of you like it.

Subscribe

Author

Archive

Tags

Posted on Wednesday, January 02, 2013 at 11:32 PM

jQuery—its many advantages and how to use it


When website designers write the code for websites, there are two computer languages that they use most often—HTML for setting up most of the text sections, and JavaScript for creating “dynamic content” that changes each time the site is visited, such as a message box popping up. More recently, a new multi-browser JavaScript library—one that consists of pre-written script in that language—has been created to make it easier to perform client-side scripting in HTML. That library is called jQuery. It has only been around since 2006, when it was created by computer programmer John Resig, but already more than half of the 10,000 most commonly visited sites use it.

Activities simplified through the use of jQuery

• jQuery makes it simpler and easier to do a number of things with a website, among them: • Navigating through the documents • Handling events—things occurring in an application for which the user has to add a log entry • Making animations • Writing applications in AJAX, a technique designed to make websites seem to react more quickly • Choosing elements from DOM (Document Object Model)—a “cross-platform” convention used to modify HTML pages

How widely used is jQuery?

Different programmers have varying attitudes towards jQuery. The following information was taken from a study conducted by about.com in 2010.

Some users find the language overwhelming to learn because there is so much to it. Those who already have a grasp of HTML or CSS (Cascading Style Sheets) or both find that they are already ahead of the game when it comes to mastering the basics of jQuery. Certainly the language has a very strong “developer base” and is one of the most widely used computer languages today. One of the persons interviewed said that jQuery “really is ‘JavaScript for Web Designers’ because it gives you the functionality-enhancement of JavaScript without the learning curve.”

Some of the basics of the language

jQuery is structurally similar to HTML in that both make use of tags typed between arrow symbols (<>) that enclose the text, with the closing tag being preceded by a slash symbol (/). In addition, jQuery makes use of CSS selectors, each of which begins with a dollar sign. Such tags include html, head, title, body, ol for ordered list, ul for unordered list and so on. Fewer characters and words are needed than for JavaScript. For instance, where in the latter language the body of the classic “Hello world” program would have to be “document.getElementById("divTest2").innerHTML = "Hello, world!"”, in jQuery it would be simply “$("#divTest1").text("Hello, world!").” The programmer in jQuery can also create his own functions, defining them according to pre-existing language processes.

Two other processes that are made easier by jQuery are elements that fade into and out of view—this process uses the fadeIn, fadeOut and fadeToggle functions—and sliding, whereby an images is toggled across the screen.

jQuery plugins

As with all computer systems, jQuery plugins are continually created and updated. They enable the user to perform a variety of tasks. BlogSlideShow is one made for using slides to enhance blog sites, while jQuery Gallery is for scanning image folders and using the findings to create image galleries.

Conclusion

People who have mastered jQuery are in high demand today. They are valuable because they can write web pages quickly and efficiently, thus saving their employers large amounts of money. jQuery will continue to be developed in sync with the Web.
Tags: None
Bookmark: Submit To Digg Submit To reddit Submit To del.icio.us Bookmark With StumbleUpon Bookmark With FaceBook Bookmark With Google Bookmarks   Share: Share By Email By Email

1 comments on "jQuery—its many advantages and how to use it"
Posted by ariou on Friday, March 29, 2013 at 12:13 AM
Image Of Author
An object specifying several attributes.
An object specifying several attributes.stock market today

Leave A Comment
Subject:


Comment:
   Bold Italic Underline          Code Link Image Horizontal Rule


Because you do not have or are not logged in to your Programmer's Heaven account, please enter your name.

Name:


To help prevent comment SPAM, please enter the magic code '214' in the box:




Posting Rules
Please follow these rules when posting comments on blog posts.
  • Do not post anything that is racist, hate speech or of a sexual or adult nature.
  • Do not post or link to anything that infringes copyrighted laws.
  • Posting about security or legal topics is fine so long as you are not glorifying or encouraging people to perform illegal activities.
  • Both the author of this blog and the Programmer's Heaven administrators may delete any inappropriate comments without notice at their own discretion.
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.