Tag Archives: jQuery is() method example and demo

jQuery is method


jQuery “is()” method is used to match the current set of elements against the jQuery selector,jQuery Object or jQuery element. If argument matches any of these elements it returns true .


Syntax : jQuery is() method

$(selector).is(selector-element,function(index,element));

selector-element: Pattern to match the current set of elements against selector-element.
– index : Current index of element.
– element : Current element.

jQuery is() Example

jQuery is Method – Example


Try it »