AJAX
Basics
Data
DOM
Effects
Events
Forms
jQuery UI
Plug Ins
Traversing
The siblings()
method returns all sibling elements of the selected element. Siblings as in the sense of all matches of the
declared element which are the same level.
It will exclude the one you declare but find it's siblings. It will
find matches both above and below the declared element.
$("#btnDemo").click(function ()
{
$("li.third-item").siblings().css({ "font-weight": "bold", "color": "red" });
});