December 2013
Intermediate to advanced
384 pages
9h 54m
English
$(".menu").siblings("span") //selects all <span> elements that are //siblings to elements with class="menu"
The .siblings([selector]) method returns a jQuery object representing all the sibling objects for each element in the current set. An optional selector argument allows you to limit the results to those siblings matching the selector.
Read now
Unlock full access