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

5 Biggest Misconceptions About Facebook Marketing

Do you believe of Facebook as an unbeneficial sales channel? It's not dead but a misunderstood channel, using it cleverly and it may become your leading marketing platform. Likes Are Of No Use: Most marketers think that if Ads are going ok then there is no need to consider likes. It is rational for a businessman to think this way that users conversion is necessary than just likes on Ad. To candidly behold the benefits of likes, you have to look farther. Likes are like social proofs; people mostly go for the things having more likes and reviews. People who are clicking on likes may not buy anything from you but they may increase your leads. Do not underrate the value of likes as they represent how engaging your business page is. Over-Posting Can Uplift The Performance Of The Page: The balance between different strategies of social media marketing is necessary for the constant and meaningful engagement with the audience. Most businesses apply this technique but quantity does

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

Metatarsal Stress Fractures: How Chronic Forefoot Pain can be More Than you Think

Have you ever had a nagging pain the ball of the foot that doesn’t seem to go away. You feel it if yIu run and it gets better if you stop physical exercises for a couple of weeks. You may even notice some swelling in the area. Pain in the forefoot can have many causes from metatarsalgia to Morton’s neuroma to the dreaded stress fracture. What is a Metatarsal Stress Fracture? The metatarsal bones are a group of five long bones in the forefoot located between the tarsal bones (midfoot) and the toes. A metatarsal stress fracture or a march fracture can be caused by sudden impact or by repetitive microtrauma such as casual walking. A stress fracture progresses over the  period of many days, weeks or months.  It is characterized by swelling and pain which  are exacerbated with further activity and improve with rest. The initial onset of pain and swelling is gradual and hardly noticeable. Strenuous physical activity or high impact exercises can lead to worsening of both the swelling an