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 (20,510 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. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.