check if an element exist code example Example: jquery check if element exists // Check if an element currently exists if ($('#element').length) { }