A bit difficult to explain....I'm trying to get the attribute of this repeating div. Code below..
<div class="hidden-data">
<div class="menu-data" data-title="About"></div>
<div class="menu-data" data-title="Team"></div>
ETC/ETC/ETC
</div>
Right now I'm calling...
var data = $(".menu-data").attr("data-title");
and only getting the first one, 'About'. I'd like to find a way to pass each 'data-title' attribute into an array.
Thoughts? I'm kind of stumped here, also having trouble Googling for this one..
Thanks!