I have an webpage and I want to get all the links in an arrayset. My page has elements stacked up something like this:
<ul class='abc'
<li>
<div>
<h3> <a href="www.1.com"> hey1</a>
<span class="xyz"> heyxyz </span>
</h3>
</div>
</li>
<ul>
Similarly I have 17 UL elements with the same class that goes on like this.
My aim is to capture
- www.1.com
- Hey 1
- heyxyz
in an array.
When i do an
$('.abc')
in google developer tools. I get all my 17**<ul class="abc">**elements.
This is as far as i could go (i am very new to Jquery.)
Please help me dig this process out?