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