All jQuery Interview Question

Difference Between jQuery().each() and jQuery.each()

jQuery has 2 different methods jQuery().each() (Also written as "$.each()") and jQuery.each(). Both the methods are similar in nature used for iteration or looping but the differ only at the level where they are used. jQuery.each(): is used to iterate, exclusively, over a jQuery object. When called it iterates over the DOM elements that are […]
Read the rest of this entry »

Download jQuery Interview Questions free eBook

Free eBook to download jQuery interview question and answers in PDF format. These are the question which You'll Most Likely Be Asked in an interview. This is a same list which few days ago, I had posted about Latest jQuery interview questions and answers and the response was quite good. So now you can also […]
Read the rest of this entry »

Latest jQuery interview questions and answers

Below is the list of latest and updated jQuery interview questions and their answers for freshers as well as experienced users. These interview question covers latest version of jQuery which is jQuery 2.0. These interview questions will help you to prepare for the interviews, quick revision and provide strength to your technical skills. Q1. What […]
Read the rest of this entry »

Difference between $(‘div’) and $(‘

One of my colleague who is learning jQuery asked me what is the difference between $('div') and $('<div/>') , if used as selector. To explain more, take a look at below code. $('<div/>').addClass('test'); $('div').addClass('test'); It is indeed quite confusing for someone who just started learning jQuery. So I went ahead and explained him about how […]
Read the rest of this entry »
‘) in jQuery

jQuery: Difference between eq() and get()

In this post, find out what is the difference between jQuery  eq() and  get() method. Both the methods are used to find and select single element from set of elements and they both return single "element". And they both accept single int type parameter, which denotes index. Related Post: Difference between $(this) and 'this' in […]

How to execute jQuery code only after WebPage is loaded completely

One of the advantage of jQuery document.ready() is that it doesn't wait for complete page loading, it starts executing as soon as DOM is loaded. "DOM loading" and "Page Loading" are 2 different terms and don't get confused between these. There is a fundamental difference between these two terms. "DOM loading" means all the DOM […]