There seems to be two threads with the same question. Repeating answer: Yes, jQuery supports xPath like expressions like:
$("div[name=foo]") You can put any attribute/value in there. Its pretty flexible. The 1.2version also has neat variations on this. See detail: http://docs.jquery.com/JQuery_1.2_Roadmap#Move_from_.5B.40attr.5D_to_.5Battr.5D Also, check out this page. It shows a slew of ways to find the stuff you want. http://docs.jquery.com/DOM/Traversing/Selectors Glen On 9/7/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > Yes... > > $('a') > > Would return an array of all A tags on the page. > > $('div') > > Would return an array of all DIV tags on the page. > > > andy > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of 0xCAFE > Sent: Friday, September 07, 2007 9:08 AM > To: jQuery (English) > Subject: [jQuery] jQuery getElementsByName Equivalent ? > > > Is there a jQuery equivalent for getElementsByName that will return an > array > ? > > Thanks! > 0xCAFE > > >