Here is my code:
var textArray = ['#text1', '#text2', '#text3', '#text4',
'#text5', '#text6', '#text7', '#text8']
$('#capture').click(function() {
    for (var i in textArray) {
      console.log($(i).offset());
    }
});
Not sure why I am getting undefined in console. I feel like I am missing something very simple.
 
     
     
     
    