Bah, I know better than that. I had an odd feeling I was doing something
wrong. Thanks for correcting it Karl.
--Erik
On 9/2/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
>
> On Sep 2, 2007, at 8:25 PM, Erik Beeson wrote:
>
> $('.next,.open')
>
> --Erik
>
> On 9/2/07, *xni* <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hello,
> > I would like to select elements with two class (eg: <h5 class="next
> > open">. I tried $(".next open") but it failed. Does anyone know how to
> > do it?
> > Thanks in advance. Xavier
> >
> >
>
> Erik's solution will select all elements that have a class of "next" or a
> class of "open" or both.
> To select only those elements that have both classes ("next" and "open"),
> just drop the comma:
> $('.next.open')
>
>
> --Karl
> _________________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
>