Check Element is visible


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if( $(element).is(":visible") == "true" ){
  2. // do something
  3. }
  4. else{
  5. // do something else
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.