Category: Introduction to jQuery

Introduction to jQuery

jQuery Class Selectors

jQuery Class Selectors

  The .class selector selects all elements with the specific class.   The class refers to the class attribute of an HTML element.   The class attribute is used to set a particular style...

jQuery id selector

jQuery id selector

The jQuery #id selector uses the id attribute of an HTML tag to find the specific element.   An id should be unique within a page, so you should use the #id selector when...

jQuery Selectors

jQuery Selectors

jQuery selectors allow you to select and manipulate HTML element(s).   With jQuery selectors you can find elements based on their id, classes, types, attributes, values of attributes and much more. It’s based on...

jQuery Hello World

jQuery Hello World

In the following example, we are defining a div with id div1, and in the script portion we are getting that divid and changing HTML in it to Hello world.

jQuery Syntax

jQuery Syntax

jQuery Syntax   The jQuery syntax is tailor made for selecting HTML elements and performing some action on the element(s).   Basic syntax is: $(selector).action() A $ sign to define/access jQuery A (selector) to...

Downloading jQuery

Downloading jQuery

The best place to start and download jQuery is the official web site at http://jquery.com and use the jquery in your file as : If you’re doing this on a public facing website, you...