dsebao
4/25/2016 - 2:43 PM

Detect if an element exist

Detect if an element exist

if($('element).length){
  //Do stuff
}