loading...

jQuery if id exist

Category: jQuery
if(document.getElementById("idName")) {
      //Execute the code
   };
}