Return to Snippet

Revision: 22299
at January 8, 2010 06:08 by daipratt


Initial Code
if ($("#id").length) {
  //it does!
}

Initial URL
http://daipratt.co.uk

Initial Description


Initial Title
Test if an element exists in jQuery

Initial Tags


Initial Language
jQuery