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

jQuery - to check element has CSS style

0 votes
59 views
added Aug 20, 2018 in jQuery by LC Marshal Captain (23,680 points)
// if this form has a style display: none style attribute, do this
if ($('form#personal-information').css('display') == 'none') {
  $('.multi-steps li:nth-child(2)').addClass('is-active');
  $('.multi-steps li:nth-child(1)').removeClass('is-active');
}

 

1 Response

0 votes
responded Jul 4 by LC Marshal Captain (23,680 points)
if((parallaxFlg.css('display') == 'none')){
  parallaxAdCon.hide();     
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...