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

Did You Know That These Safety Devices Also Expires?

Got surprised? But the safety devices actually expire whether they have expiry dates written on them or not. In many homes making the storage empty of expired food, medicines or other solutions is a practice which is a good habit but does you ever think that safety devices also need to be replaced with new when expired? That is why from today you should do a thorough audit of your house and check all the safety devices for their performance, if you find any defect in functioning, immediately throw it away. The defect in small safety devices should not cost your harm so keep alert! Fire Extinguisher:  You may have a fire extinguisher placed in your kitchen. The usability years can vary in different types of fire extinguishers like disposable models can last for five to seven years and non-disposable models need alternate recharging after every five to six years. For safety, improvement checks for the tags if any for the specifications of the maintenance schedule is necess...

Another year, another set of challenges: is it make or break for the PR industry in 2018?

2017 has been a big year for the PR industry. Not only did we witness myriad crises, campaigns and the odd fall from grace, but a number of new trends also emerged. Live-stream video, for example, grew in popularity as did the use of influencers to drive engagement. 2018 looks — at least on paper — like an unprecedentedly good setup for the PR and marketing industry. But behind the scenes, the industry appears shockingly vulnerable. Micro moments Information can be accessed faster and faster with the use of smartphone applications, notifications, and social media. According to Huffington Post, 55 per cent of the time people use their smartphones, they do so in short bursts of 30 seconds or less. Look at how US President Donald Trump communicates with his millions of followers. Bite size sound bites are what he does best, even if the content isn’t exactly worth reading. But he grabs the attention of his audience by drip feeding tiny bits of information on a regular basis. With i...

6 things we learned in our first year as a business

The first year is always the hardest. That’s one thing you’ve definitely heard before; because it’s true. You sacrifice time with family, you let your social life take a back seat and you almost certainly have trouble sleeping when every thought and feeling from the day before is swirling around in your head at 4am. But the point is - it should be this hard because the rewards of building a business are worth the ride. It’s a never-ending rollercoaster of exhilarating ascents, unexpected turns and spiraling nose dives. But we wouldn’t have it any other way. Every day, we get validation from people who love what we do. In our first 12 months, we met some of the most fascinating people on the planet and we easily learned more than we would have in 10 years. Here are six lessons we learned in our first 12 months. 1- Don’t try to be the best Being popular may have been important when you were at school. In business, the opposite is true. When we started, we knew other agencies were o...