[jQuery] Is this code legitimate?

[jQuery] Is this code legitimate?


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