0xCAFE schrieb:
well id's generally should be only used once per site. that's what they are made for. it's an identificator. what you look for is probably a classIs there a jQuery equivalent for getElementsByName that will return an array ?Thanks! 0xCAFE
so you'd do '$('.myclass')' and you'll get that elements who have a class of 'myclass' as an array.
additionally there are other ways to achieve this, eg. if there is no such class.
look here: http://docs.jquery.com/DOM/Traversing micha