Thanks guys lanxiazhi's solution works just fine.
Have a good 1! Sig On Sep 16, 7:15 pm, Steven Black <ste...@stevenblack.com> wrote: > Try James Padolsey's Regex Selector plugin for jQuery > http://james.padolsey.com/javascript/regex-selector-for-jquery/ > > **--** Steve > > On Sep 16, 9:34 pm, macsig <sigbac...@gmail.com> wrote: > > > > > Hello guys, > > is there a way to select elements that match a regular expression? > > > I have a set of divs with id = "wrap_n" where n is a progressive and I > > need to select them and for each 1 I have to add a function that > > togggle the "elem_n" div. > > > Thanks > > > Sig