So I encounter this situation often and I want to figure out a better way of going about it. I using the naming convention prefixing my jQuery elements with
$pointers = $('#pointer-box div.pointer');
You can use .eq() jQuery method
$pointers = $('#pointer-box div.pointer'); var element=$pointers.eq(2);
Given a jQuery object that represents a set of DOM elements, the .eq() method constructs a new jQuery object from one element within that set. The supplied index identifies the position of this element in the set.