Skip to content

Instantly share code, notes, and snippets.

@tevashov
Last active October 27, 2022 21:53
Show Gist options
  • Select an option

  • Save tevashov/5172464 to your computer and use it in GitHub Desktop.

Select an option

Save tevashov/5172464 to your computer and use it in GitHub Desktop.
Test if an element is visible #jQuery
if($(element).is(":visible")) {
// The element is Visible
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment