[jQuery] how to find an item when you only know part of the class name

[jQuery] how to find an item when you only know part of the class name


> -------Original Message-------
> From: Jake McGraw <jmcgraw1@gmail.com>
> Subject: Re: [jQuery] how to find an item when you only know part of the class name
> Sent: Mar 02 '07 23:19
>
> Not sure if the source is like this too, but you haven't closed this
> element (insert a </a>):
>
> <a href='#' class="toggleStrike">Remove</a> </td>
>
> Maybe, that'll help?
>
> - jake
>
>
> On 3/2/07, [LINK: MAILTO:DALVARADO@REMANRESOURCE.COM]
> DALVARADO@REMANRESOURCE.COM <[LINK: mailto:dalvarado@remanresource.com]
> dalvarado@remanresource.com> wrote:
>
>
> > -------Original Message-------
> > From: Jake McGraw <[LINK: mailto:jmcgraw1@gmail.com]
> jmcgraw1@gmail.com>
> > Subject: Re: [jQuery] how to find an item when you only know part of
> the class name
> > Sent: Mar 02 '07 22:46
> >
> > You can reference any attribute using the following notation:
> >
> > [@attribute^=value] Starts with
> > [@attribute$=value] Ends with
> > [@attribute=value] equals
> > [@attribute*=value] contains
> >
> > So for your problem...
> >
> > $("td[@class^=title]")
> >
> > Hope this helps,
> >
> > - jake
> >
> >
> > On 3/2/07, [LINK: MAILTO: [LINK: mailto:DALVARADO@REMANRESOURCE.COM]
> DALVARADO@REMANRESOURCE.COM]
> > [LINK: mailto:DALVARADO@REMANRESOURCE.COM] DALVARADO@REMANRESOURCE.COM
> <[LINK: mailto:[LINK: mailto:dalvarado@remanresource.com]
> dalvarado@remanresource.com]
> > [LINK: mailto:dalvarado@remanresource.com] dalvarado@remanresource.com>
>