Answers for "jquery check if parent has 2 chlds"

0

jquery check if parent has 2 chlds

if ( $('#myfav').children().length > 0 ) {
     // do something
}
Posted by: Guest on December-15-2020

Code answers related to "jquery check if parent has 2 chlds"

Code answers related to "Javascript"

Browse Popular Code Answers by Language