[jQuery] Getting and appending elements

2007-06-29 Thread [EMAIL PROTECTED]
I'm working on a script that gets option elements based on some logic. So I have if(!myArray[myIndex]) { myArray[myIndex] = $(this).get(0); } else { myArray[myIndex] += $(this).get(0); } Then later I append them to an select element with: $(this).append(myArray[thisIndex]); which works

[jQuery] Getting and appending elements [may be a duplicate, sorry]

2007-06-29 Thread bennybobw
Sorry if this is a duplicate, the google-groups page seems to be acting up on me. --- I'm working on a script that gets option elements based on some logic. So I have