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

jQuery - Check if element exist with .length

0 votes
82 views
added Nov 17 in jQuery by LC Marshal Lieutenant (14,830 points)
 var ifframe = $('.sto-ads #div-gpt-ad-1542355261776-0_ad_container');
  if($(ifframe).length){
      alert('hey');
 }

 

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.
...