I want to get the href from a tag releted to that div. I'm having html structure like
<div>
<a>
<button>
</div>
Above structure in for loop, having different urls in href.
I want something like when I clicked on 1st button inside 1st div i want url in href of that div. When I clicked on 2nd div button I want url in href of 2nd div.
How do I achieve that.