How would you use an array index as a jquery selector?
for example if I have:
array[0] = someId;
array[1] = someId;
for(var i; i<array.length; i++){
$("#"+array[i]").find(.....)
}
I would like to be able to use the value stored in the array index as my id for the selector.
thanks
Your code works fine, except for the extra
".jQuery selectors are ordinary strings.