Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(function(){
- if(jQuery('div#program-days .row').length > 1)
- jQuery('body').addClass('bodyclass1');
- else
- jQuery('body').removeClass('bodyclass2');
- }, 1000);
- <div id="program-days">
- <div class="row">program 1</div>
- <div class="row">program 2</div>
- <div class="row">program 3</div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement