Answers for "how to check if an id exists in jquery"

22

jquery check if element exists

// Check if an element currently exists
if ($('#element').length) {

}
Posted by: Guest on June-05-2020

Code answers related to "how to check if an id exists in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language