Re: [jQuery] Help: Iterate through unknown number of elements, apply function

2010-02-23 Thread Nathan Klatt
On Tue, Feb 23, 2010 at 2:20 AM, xstaceyamayx wrote: > Anyway, I have 2 select boxes. I can populate SelectA with items from > a database, move the items from selectA to selectB and back again by > clicking "add" and "remove"... Change your HTML to look something like this:

[jQuery] Help: Iterate through unknown number of elements, apply function

2010-02-23 Thread xstaceyamayx
Hey there, newbie here... Still getting a grasp on jQuery, so I'm probably overthinking or extra- typing... Anyway, I have 2 select boxes. I can populate SelectA with items from a database, move the items from selectA to selectB and back again by clicking "add" and "remove"... BASIC CODE (HTML):