Hi all,
before jQuery, I was used to check for existence of certain elements
like this:

if (!document.getElementById('myElem')) {
  return false;
} else {
  doSomething();
}

Is there some jQuery way of doing this, or should I use the old DOM
one?

Thanks!

Bohdan

Reply via email to