I\'m using jQuery\'s selectors, especially id selector:
$(\"#elementId\")...
How should I determine whether jQuery has found the element or
Futuraprime is right but you can shorten your syntax by doing the following:
if ($("#id").length) { //at least one element was found } else { //no elements found }