[jQuery] Getting and appending elements [may be a duplicate, sorry]
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 elements based on some logic. So I have if(!myArray[myIndex]) {
[jQuery] Getting and appending elements
I'm working on a script that gets 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 great if t