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

jQuery - to check element has CSS style

0 votes
added Aug 20, 2018 in jQuery by LC Marshal Captain (26,090 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, 2019 by LC Marshal Captain (26,090 points)
if((parallaxFlg.css('display') == 'none')){
} - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.