jquery check if parent has 2 chlds

120

jquery check if parent has 2 chlds -

if ( $('#myfav').children().length > 0 ) {
     // do something
}

Comments

Submit
0 Comments