Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - if element is not present or exist

0 votes
26 views
added Aug 2, 2019 in jQuery by LC Marshal Captain (25,800 points)
else if (!catfishUnit.length) {
  shareBtn.attr('style', '').addClass('in');
  console.log('no catfish');
}

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...