jquery select divs with same id
- by mark
hei guys
i want to select two divs with the same id in jquery. how do i do it?
i tried this and it did not work
jQuery('#xx').each(function(ind,obj){
//do stuff;
});
i have jquery countdown timers in a page, and i update them via ajax. some of these countdown timers repeat and that is why i need to use the same id on the divs.