Explain .siblings() method in jquery?
Answer / Kushal Sharda
.siblings() method returns the elements that share the same parent as the current set of matched elements. It filters out the current elements themselves.nFor example: $(this).siblings('.otherClass') will select all siblings of the current element with the class 'otherClass'.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between parent() and parents() methods in jQuery?
What is method chaining in jquery and what are the advantages?
How can jquery be used in conjunction with another javascript library that also uses $ for naming?
How to create, read and delete cookies with jquery?
Explain jquery filter?
Explain the difference between size and length of jquery?
How to write browser specific code using jQuery?
What is the use of the animate() method in jquery?
How can we add change font size using jquery?
Difference between document.ready() and body onload()?
Tell me can we have multiple document.ready() function on the same page? : jquery mobile
Explain some features of jquery knockout?