I have not done anything. But like to ask if there is any way I can achieve this feature.
I have a loop in my WordPress site whose output is something like this:
<div class="dummy">
<a href="http://google.com">Text Here</a>
<a href="http://google.com">Text Here</a>
<a href="http://google.com">Text Here</a>
<a href="http://google.com">Text Here</a>
<a href="http://google.com">Text Here</a>
</div>
Here you can notice all the URL are same.
So what I want to know here is, if there is a way I can redirect the 3rd or 4th anchor tag to a different URL like http://facebook.com using javascript?
If there is any such way possible, please let me know. I am curious about that.
Thank you in advance.