The whole point of having an ID is to have a unique id. You should not be assigning the same ID name to multiple objects. Use classes if you want to handle multiple objects.
http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#adef-id id = name [CS] This attribute assigns a name to an element. This name must be unique in a document. class = cdata-list [CS] This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. On Jun 27, 2:25 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > On Jun 27, 2007, at 2:02 PM, Ganeshji Marwaha wrote: > > > the second one [ $t("#TimelineContainer") ] will select any element > > with an id of "TimelineContainer" > > Quick clarification. This will only select the first one it finds in > the DOM. To find any element with an id of "TimelineContainer," we'd > have to use the much slower $('[EMAIL PROTECTED]') > > --Karl > _________________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com

