Skip to main content

WHAT IS JQUERY? A QUICK OVERVIEW

The computer uses code languages to process the input given, similarly, HTML, CSS, and JavaScript are the basic languages of the web. HTML is used to create and structure the website, CSS to style them, JavaScript for interactive functionality. As javascript includes long codes and repetitive actions, John Resig in 2006 created jQuery that simply made the Javascript easier to write. So the major question pops up in mind is that what’s the difference between the two? Javascript is a programming language whereas jQuery will help you write JavaScript faster using a simpler syntax. jQuery is like a cover of JavaScript, with pre-written functionality and DOM traversing.   From the jQuery website:  "jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript."   It truly justifies its motto: “Write less, Do more.”  

FEATURES OF JQUERY:

 jQuery is an easy toolkit of JavaScript, designed to make various tasks simple by writing less code. Here is the list of key features of jQuery:  
  • DOM MANIPULATION AND ELEMENT SELECTION− The jQuery made it simpler to select DOM elements, traverse them and change and improve their content by using cross-browser open source selector engine called Sizzle.

  • EVENT HANDLING − The jQuery has a great way to capture a wide variety of events, for example, a user clicking on a link, without the need to clutter the HTML code itself with event handlers.

  • AJAX − The jQuery helps you a lot to develop a quickly accessible and feature-rich site using AJAX technology.

  • ANIMATIONS AND EFFECTS− The jQuery released with the plenty of built-in animation effects, you can use in your websites.

  • LIGHTWEIGHT − The jQuery is a very lightweight library, not have a big size.

  • CROSS BROWSER SUPPORT − The jQuery comes with cross-browser support and can work with IE 6.0+, FF 2.0+, Safari 3.0+, Chrome and Opera 9.0+. However, jQuery version 2.x dropped Internet Explorer 6–8 support and supports only IE 9 and later versions.

  • MODERN TECHNOLOGY − The jQuery supports CSS3 selectors and basic XPath syntax.

  • DEFERRED AND PROMISE OBJECT − To control asynchronous processing

  • PLUG-INS – Its extensibility through plug-ins.
  JQUERY SET UP:   There are two ways to include jQuery in a project:  
  1. Download a local copy.
  2. Link to a file via Content Delivery Network (CDN).
    USAGE STYLES:   jQuery can be used through two styles:  
  1. By the $ function, which is a factory method for the jQuery object. These functions, called as commands, are chainable as they all return jQuery objects.
  2. By the $.-prefixed functions. These are utility functions, which do not directly act upon the jQuery object

Comments

Popular posts from this blog

How to make PR work for you

The digital era has transformed global business needs and many PR agencies have been forced to dust off their cobwebs and adapt to the complicated world of online content. So is traditional PR still relevant I hear you cry? The short answer is yes! Getting your story heard in the digital age may seem daunting but the same rules still apply; good old-fashioned PR and the practices that made it so effective in the first place still at the very core of it all. Understanding exactly what media and messaging an audience wants to engage with is what matters most and all you really need to do is give things a digital twist to ensure your message is actually heard. But doesn’t PR cost a lot of money? The good news is that PR doesn’t have to cost an arm and a leg.  You don’t need to appoint a flashy high-priced agency that delights in racking up big bills and bombarding journalists with countless emails that will probably go straight to spam. Here are five tips to get you started. 1-...

5 Energy Conserving Solutions for Commercial Buildings

  In today’s environment, a large population is consuming polluted water and breath in dirty air. Making the commercial or corporate buildings energy efficient helps us in creating clean and better surroundings. A great number of the working professionals spend almost half of the day in offices. Therefore the energy consumption could be very high sometimes that may lead to the high billing cost. Here are few useful tips which give you insights into the practical energy efficient methods which will be really helpful to you. Try to control the increasing energy demand smartly: It is usual for the industries that the demand may raise and it also increases the billing cost of electricity. You can adopt the smart and strategic solutions to save more energy. Regular maintenance of the machines also helps you to decrease the burden on your pocket. Moreover, it keeps the machine working for long period of time, provides an overall benefit of high work efficiency and reduced operatio...

Common Email Marketing Mistakes You Should Watch For

Marketing is a whole world inside itself! It does not bind to a single platform but a large number of channels can be used to reach your target audience. Email marketing is one of the strongest sources of marketing that is still prevailing in today’s era. It involves the careful crafting of the message that can trigger your customer to read and take actions. For successful email marketing, you must check for both the current trends and the mistakes that should be avoided in the email marketing. More focus on the product than the target audience: This practice is bad as it makes the customers losing interest in your email. Despite this negative aspect, it is included in many marketing strategies. Give more attention in persuading the customers that tells why your product is useful and worthy to purchase. You can add reviews which will act as a plus point in keeping your reader engaged. Don’t forget that customers are your biggest asset and only a well-crafted email can attract an...