Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 520 Bytes

File metadata and controls

24 lines (18 loc) · 520 Bytes

exists

Project is deprecated!

This project has been deprecated!

jQuery Plugin for checking wether an element exists and if it does run some code.

Used to optimize performance of your script by deferring actions intended for optional elements.

Usage

$('#element').exists(function() {
  // do stuff upon existence of #element
});

Installation

bower install jquery.exists