[jQuery] Re: select all divs with the same name

2008-06-20 Thread andrea varnier
On 20 Giu, 22:16, jggube <[EMAIL PROTECTED]> wrote: > He meant id. In his example he used #mydelete. To select everything > with class="test" in mootools, you would do $$(".test"). so let's say that jQuery is cheaper, cause it uses less dollars :)

[jQuery] Re: select all divs with the same name

2008-06-20 Thread jggube
He meant id. In his example he used #mydelete. To select everything with class="test" in mootools, you would do $$(".test"). On Jun 20, 10:18 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > If you really meant 'name' then: > > $('div[name=foo]') > > -- > Ariel Fleslerhttp://flesler.blogspot.com >

[jQuery] Re: select all divs with the same name

2008-06-20 Thread Ariel Flesler
If you really meant 'name' then: $('div[name=foo]') -- Ariel Flesler http://flesler.blogspot.com On 20 jun, 05:26, andrea varnier <[EMAIL PROTECTED]> wrote: > On 19 Giu, 21:50, ontguy <[EMAIL PROTECTED]> wrote: > > > Hello, > > > How would I select all divs with a certain name? > > what do you

[jQuery] Re: select all divs with the same name

2008-06-20 Thread andrea varnier
On 19 Giu, 21:50, ontguy <[EMAIL PROTECTED]> wrote: > Hello, > > How would I select all divs with a certain name? what do you mean 'name'? id? that would be $('#mydelete') but it's like css, if you want a certain class $('.mydelete') and so on... http://docs.jquery.com/Selectors :)