programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

how to check if an element exists in jquery

we can find it by using

we can find it by using length.

if($('#my-element').length) {
//element exists
} else {
//Element not exists
}