Try $('[class^=rate]');
-----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of debussy007 Sent: Tuesday, November 11, 2008 3:15 PM To: jquery-en@googlegroups.com Subject: [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-...-tp20450061s27240p20 450061.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.