Return to Snippet

Revision: 50732
at August 31, 2011 15:12 by dkl3in


Initial Code
if ($("#elementId").length > 0){
  // do something here
}

Initial URL

                                

Initial Description

                                

Initial Title
How to check whether an element exists using jQuery

Initial Tags

                                

Initial Language
jQuery