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

jQuery - check if text in element is empty with .text

0 votes
added Dec 18, 2020 in jQuery by lcjr Second Warrant Officer (3,820 points)
else if($(newsAuthor).text() == '') {
  newsMeta.css({'border-top': '1px solid #fff'});
  newsMeta.css({'padding-left': '0'}); 


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.