[jQuery] get the class that starts with ...

[jQuery] get the class that starts with ...


Hi,
How is it possible to get the class that starts with 'rate' of an element ?
the class could be rate1, rate5, rateXYZ.
I don't know what follows the substring 'rate'.
I need to get the number that follows rate.
Thank you for any help !
--
View this message in context: http://www.nabble.com/get-the-class-that-starts-with-...-tp20450061s27240p20450061.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.