Answers for "jquery find parent closest by id child"

2

jquery find parent closest by id child

$( "li.item-a" )
  .closest( "ul" )
  .css( "background-color", "red" );
Posted by: Guest on May-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language