jquery how to find if div with specific id exists

if($("#"+ name).length ==0){
//it doesn't exist

}

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *