SHARE
TWEET

Untitled

a guest Jun 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setInterval(function(){
  2. if(jQuery('div#program-days .row').length > 1)
  3.     jQuery('body').addClass('bodyclass1');
  4. else
  5.     jQuery('body').removeClass('bodyclass2');
  6. }, 1000);
  7.      
  8. <div id="program-days">
  9.     <div class="row">program 1</div>
  10.     <div class="row">program 2</div>
  11.     <div class="row">program 3</div>
  12. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top