I want choose all the li in my html that has the <span>Google Map</span>
in it and apply
and get the value in href with jquery. I tried going through jquey docs but coulding figure it out. Is this possible?
<li><span>Google Maps Staic Link:</span>
<a target="_blank" href="**Value To Get**" rel="nofollow">Map</a></li>
The actual HTML will be something like this.
<li><span>Name</span>Newyork:</li>
<li><span>Added:</span>23rd April</li>
<li><span>Google Map Link:</span>
<a target="_blank" href="**Value To Get**" rel="nofollow">Map</a>
</li>
From this I only want the one with Google Map Link. The link will change but the span <span>Google Map Link:</span>
will not change.