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, 0xCAFE <[EMAIL PROTECTED]> wrote:
>
>
> I know I can use $("#elementid"), but is there something that will
> return me an array of object like getElementsByName does ?
>
> Thanks!
>
>

Reply via email to