Maybe you are looking for the $().filter() function:
http://docs.jquery.com/Traversing/filter#fn

I don't know if this is working:

$("a[class^='myclass']").filter(function() {
  return /(myclass)[1-9]\d/.test(this.className);
}).each(function() {
  // do something here
});


On 23 Sep., 05:13, jeremyBass <[EMAIL PROTECTED]> wrote:
> I want to make this work...
>
> $('.class' + [$[1-9][0-9]?] + '').each(function() {....etc
>
> mean that the class would be .class0 or .class99 etc.
>
> thanks for the help
> jeremyBass
>
> note also tried:
> $('[class=Round_gen^[1-9][0-9]?]').each(function() {
> $('.Round_gen'+ [(/$[1-9][0-9]?/)] +'').each(function() {
> $('.Round_gen'+ (/$[1-9][0-9]?/)]+'').each(function() {
>  along with many others...

Reply via email to