Skip to content

Instantly share code, notes, and snippets.

@abid112
Created January 19, 2019 23:03
Show Gist options
  • Save abid112/13099e606b15fb1ba738983e7a33c866 to your computer and use it in GitHub Desktop.
Save abid112/13099e606b15fb1ba738983e7a33c866 to your computer and use it in GitHub Desktop.
This JavaScript is hide another class if the specific class is exists.
<script type="text/javascript">
$(document).ready(function(){
if ($('.mwd-success').css('display') == 'block') {
$('.email-confirm-sub').css('display', 'none');
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment