select sibling selector jquery code example
Example 1: jquery siblings
$( "li.third-item" ).siblings().css( "background-color", "red" );
Example 2: jquery select self and siblings
$(this).siblings().addBack()
$( "li.third-item" ).siblings().css( "background-color", "red" );
$(this).siblings().addBack()