jQuery, check if element exists Feb 2, 2010 • paragasu if($('#some-div').length)){ /* exists */} how to tell if an element exists