Check if Element is Exists or Not With jQuery

Do something for an Exists element found:

jQuery

if ($('#element').length > 0){
  //do something for exists element
}

  • Share
  • Copyright 2016 by WebiBeris.com. All Rights Reserved.