AJAX
Basics
Data
DOM
Effects
Events
Forms
jQuery UI
Plug Ins
Traversing
The next()
returns the next sibling element of the selected element.
$("#btnDemo").click(function ()
{
$( "li.third-item" ).next().css( "background-color", "red" );
});