jQuery introduction - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript jQuery introduction - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript

Breaking

Post Top Ad

Post Top Ad

Saturday, November 24, 2018

jQuery introduction

jQuery introduction


jQuery introduction

Introduction

jQuery was originally created in January 2006 at BarCamp NYC by John Resig, It is currently maintained by a team of developers led by Timmy Willison (with the jQuery selector engine, Sizzle, being led by Richard Gibson). jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for Rapid Web Development.

Query is a JavaScript library that allows web developers to add extra functionality to their websites. It is open source and provided for free under the MIT license. In recent years, jQuery has become the most popular JavaScript library used in web development

The purpose of jQuery is to make it much easier to use JavaScript on your website. jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code. jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.

Features of jQuery

features of jQuery

Features:

  • Simple and easy: It have predefined method using you can perform any task easily compare to JavaScript. And it is easy to learn.
  • Lightweight: It is very lightweight library - about 19KB in size ( Minified and gzipped ).
  • CSS manipulation: It have predefined css() method for manipulate style for any Html elements.
  • Html manipulation: The jQuery made it easy to select DOM elements, traverse them and modifying their content.
  • Cross browser support: It support all modern web-browser including IE-6.
  • Event handling: It support event handling like click mouse button.
  • JavaScript Library: It is JavaScript library.
  • Ajax Support: It support ajax, you can develop a responsive and feature-rich site using AJAX technology.









      Built-in Animation: It have predefined method "animate()" for create custom                                  animation on web-page.





Prerequisites


Prerequisite

Before you begin this guide you'll need the following:
  • A basic knowledge of HTML and CSS. You should already know how to set up a simple website, and have an understanding of CSS selectors such as ids, classes, and pseudo elements.
An understanding of the fundamentals of programming. While it is possible to begin writing jQuery without an advanced knowledge of JavaScript, familiarity with the concepts of variables and datatypes as well as math and logic will help significantly.

Objectives of jQuery

objectives of jQuery

This guide assumes no prior knowledge of jQuery, and will cover the following topics:
  • How to install jQuery in a web project.
  • The definitions of important web development concepts such as API, DOM, and CDN.
  • Common jQuery selectors, events, and effects.
  • Examples to test the concepts learned throughout the article.

How to setup jQuery


setup of jQuery

jQuery is a JavaScript file that you will link to in your HTML. There are two ways to include jQuery in a project:
  • Download a local copy.
          Link to a file via Content Delivery Network (CDN).



Reason you should be using jQuery

uses of jQuery

1. jQuery promotes simplicity.

2. jQuery elements display even when JavaScript is disabled.
3. jQuery easily integrates with the Visual Studio IDE.
4. jQuery makes animated applications just like Flash.
5. jQuery pages load faster.
6. jQuery can be SEO friendly.
7.Its light weight when compared to other javascript frameworks.
8.It is easier for a designer to learn jQuery as it uses familiar CSS syntax.

No comments:

Post a Comment

Post Top Ad