jquery does this object exist in list code example Example: jQuery exists function if ($("#myElementID").length){ //I exist }