I have quick and simple question. How can I check that an element is in the DOM or not?
For example how can I check if there is<p id="does_i_really_exist_or">this is just matrix</p>
if ( $("#does_i_really_exist_or").length ) {
//-- It does exist.
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With