Using an attribute selector to select by class isn't ideal. Maybe try:
$(':input.required')

--Erik


On Tue, Dec 23, 2008 at 5: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