Works for me, what does your HTML look like?

<input type="text" class="this thing is required" />
$(':input[class$=required]')

In some situations you have to use 'className' instead of 'class' for
the attribute selector, but I can't remember when.

- ricardo

On Dec 23, 11:52 pm, "Rick Faircloth" <r...@whitestonemedia.com>
wrote:
> Is this legit?
>
> $(':input[class$="required"]')
>
> I know it'll work for a div:
>
> $('div[class$="required"]')
>
> but it doesn't seem to work to designate an input
> with a class that has "required" on the end of it's name...
>
> Rick

Reply via email to