[EMAIL PROTECTED] wrote:
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.
Try: if ($("#your_id_here").length > 1) { // CODE TO EXECUTE } This should fire the code if the ID occurs more than once. Regards, Michael Price