Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery dom traversal parent

$( "li.item-a" ).parent().css( "background-color", "red" );
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #jquery #dom #traversal #parent
ADD COMMENT
Topic
Name
2+9 =