[jQuery] using jquery to see if an ID occurs twice

[jQuery] using jquery to see if an ID occurs twice


Hi,
How can I use JQuery to discover if a particular ID occurs twice in my
page? I can't use "View Source' because the DOM is changing as the
user interacts with the page.
Thanks, - Dave