You would probably have better luck assigning non-styling classes to the elements to search on instead of doing the regex check.
So instead of finding all tags with id="edit-field-*", find all tags with the "edit-field" class On Mar 27, 4:30 pm, NapkinLinks <d...@napkinlinks.com> wrote: > Thanks James! > > On Mar 27, 12:49 pm, James <james.gp....@gmail.com> wrote: > > > var editIDs = $("[id^=edit-field-]"); > > > This will have a set of elements (regardless of type: div, span, etc.) > > that have id's that begin with 'edit-field-' > > > On Mar 26, 8:35 pm, NapkinLinks <d...@napkinlinks.com> wrote: > > > > Hi all. > > > > Hopefully this question is not so dumb that it will be ignored > > > completely. > > > > I would like to collect all IDs that start with a specific string (say > > > #edit-field-*) and then apply the spin() plugin function to each of > > > the matches. > > > > Thanks in advanced, > > > > Dan