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
8 views
added Aug 20 in jQuery by LC Marshal Lieutenant (13,450 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');
}

 

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