• In previous tutorials, we have seen how to select HTML elements using their ID and Tag name.  In this tutorial, we will proceed with another selector which is a class selector.  We will select elements based on their class name.  The syntax for selecting an element by class is $(‘.ClassName’).  […]

    Class Selector in jQuery with Example

    In previous tutorials, we have seen how to select HTML elements using their ID and Tag name.  In this tutorial, we will proceed with another selector which is a class selector.  We will select elements based on their class name.  The syntax for selecting an element by class is $(‘.ClassName’).  […]

    Continue Reading...

  • Whenever you select an element by Tag Name, it will return collection of elements which have the same Tag Name.  That collection always starts from 0.  We can manipulate those elements by their odd and even position in collection using Odd and Even selectors in jQuery.  We are going to […]

    Odd & Even Selectors in jQuery

    Whenever you select an element by Tag Name, it will return collection of elements which have the same Tag Name.  That collection always starts from 0.  We can manipulate those elements by their odd and even position in collection using Odd and Even selectors in jQuery.  We are going to […]

    Continue Reading...

  • Today, we are going to manipulate HTML elements by selecting them using their tag name.  We are going to perform 3 kinds of selection using tag name. Single Element (Single Tag Name). Multiple Elements (Multiple Tag Names). Element descendant of another Element. Single Element:  The syntax for selecting single element […]

    Tag Name Selector in jQuery

    Today, we are going to manipulate HTML elements by selecting them using their tag name.  We are going to perform 3 kinds of selection using tag name. Single Element (Single Tag Name). Multiple Elements (Multiple Tag Names). Element descendant of another Element. Single Element:  The syntax for selecting single element […]

    Continue Reading...

  • In HTML, each element can have its unique ID.  This unique ID is further used by JavaScript and jQuery for manipulation.  Having a unique ID for each element will make easy for jQuery and JavaScript to find the right HTML element in DOM.  In jQuery, we use hash (#) in […]

    ID Selector in jQuery

    In HTML, each element can have its unique ID.  This unique ID is further used by JavaScript and jQuery for manipulation.  Having a unique ID for each element will make easy for jQuery and JavaScript to find the right HTML element in DOM.  In jQuery, we use hash (#) in […]

    Continue Reading...

  • As we know, jQuery is mainly used to manipulate HTML elements in DOM.  The jQuery selectors play an important role in such manipulation.  Selectors help you in selecting right HTML element for manipulation.  You can add event handlers, styles, change attribute values of any HTML element etc. Some of the […]

    Selectors in jQuery

    As we know, jQuery is mainly used to manipulate HTML elements in DOM.  The jQuery selectors play an important role in such manipulation.  Selectors help you in selecting right HTML element for manipulation.  You can add event handlers, styles, change attribute values of any HTML element etc. Some of the […]

    Continue Reading...

  • CDN stands for Content Delivery Network. As the name suggests, it’s a network which delivers content.  It is basically a system of distributed servers which delivers web content like images, css file, javascript file, jQuery file etc. to the websites. In regard to jQuery, big companies like Microsoft and Google […]

    What is CDN Server & Advantages of Using CDN Server

    CDN stands for Content Delivery Network. As the name suggests, it’s a network which delivers content.  It is basically a system of distributed servers which delivers web content like images, css file, javascript file, jQuery file etc. to the websites. In regard to jQuery, big companies like Microsoft and Google […]

    Continue Reading...

  • Document.Ready() event gets fired when DOM is completely loaded, but not its other contents like images, css, iframes etc. Window.Load() event gets fired when DOM is completely loaded as well as its other contents like images, css, iframes etc. Document.Ready() event gets fired before Window.Load() event.  This means if you […]

    Difference Between jQuery Document.Ready() & Window.Load() Events

    Document.Ready() event gets fired when DOM is completely loaded, but not its other contents like images, css, iframes etc. Window.Load() event gets fired when DOM is completely loaded as well as its other contents like images, css, iframes etc. Document.Ready() event gets fired before Window.Load() event.  This means if you […]

    Continue Reading...

  • First of all, you have to download jQuery file from jQuery.com which is the official website for jQuery and have complete documentation about its implementation.  There are basically 2 versions available v1.x and v2.x.  If you want to provide support for older versions of IE 6, 7, 8 then you […]

    How To Use jQuery

    First of all, you have to download jQuery file from jQuery.com which is the official website for jQuery and have complete documentation about its implementation.  There are basically 2 versions available v1.x and v2.x.  If you want to provide support for older versions of IE 6, 7, 8 then you […]

    Continue Reading...

  • jQuery is basically a lightweight JavaScript library, which simplifies the coding process with JavaScript and helps in creating more powerful JavaScript applications.  Unlike JavaScript, jQuery is compatible with all browsers, thus you don’t need to worry about browser engine compatibility or need to add any kind of additional checks for […]

    What is jQuery?

    jQuery is basically a lightweight JavaScript library, which simplifies the coding process with JavaScript and helps in creating more powerful JavaScript applications.  Unlike JavaScript, jQuery is compatible with all browsers, thus you don’t need to worry about browser engine compatibility or need to add any kind of additional checks for […]

    Continue Reading...