There are going to be multiple .test on the page.... how can i alert(myID) for all the elements on the page.... just testing it so i can see its gtting them all? Thanks Dave
_____ From: waseem sabjee [mailto:waseemsab...@gmail.com] Sent: May-28-09 2:55 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Get ID var myID = $(".test").attr("id"); alert(myID); On Thu, May 28, 2009 at 6:24 AM, Dave Maharaj :: WidePixels.com <d...@widepixels.com> wrote: How do you find an ID that is generated dynamically? <div id="menu_<?php echo $variable ;?>" class="test"> Dave