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

jQuery - if this OR this exist, do this

0 votes
88 views
added Feb 1 in jQuery by LC Marshal Lieutenant (18,350 points)
if ($(dfpStoBigAnimFullId).length || $(stoBigAnimContainerAdd).length) { 
    $(dfpStoBigAnimContainer).show();
    $(dfpStoBigAnimContainer).addClass('in');
    $(dfpStoBigAnimContainerX).on('click', function(){
      $(this).parent().parent().removeClass('in');
    });
}

 

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