Im attempting to set this variable as a function, and set the variable's value to that function's output, but i just can't put my finger on how to grab the output correctly:
var prev = activeSection.prevAll();
var about = prev.each(function(){
$(this).data('about');
})
Now the .data func's value is the value i want to set the about var to, however when i log the about var, i just get all the elements of the prev var, not the .data('about') of each of them, which i desire.
I know I'm off by something so minute... suggestions?