jqueryget element sibling code example
Example 1: jquery siblings
$( "li.third-item" ).siblings().css( "background-color", "red" );
Example 2: select a particular sibling jquey
$(myContextNode).siblings("span.myClass")
$( "li.third-item" ).siblings().css( "background-color", "red" );
$(myContextNode).siblings("span.myClass")