amitabhaghosh197
5/20/2014 - 1:22 PM

children() api jquery

children() api jquery

//Works for a children div

$( "div" ).children( ".selected" ).css( "color", "blue" );
//or

 	

$( "ul.level-2" ).children().css( "background-color", "red" );

//more http://api.jquery.com/children/