Not sure this is possible but maybe you can help.
I have a list, where the content of the <li>‘s is generated by Javascript, through a function called showLink(); this function is on another server and it’s not controlled by me.
The showLink(); function generates a html link. I am interested in the generated anchor text.
QUESTION: Is there a way I can use Jquery to get the anchor text of that link into a Jquery variable?
Here is the code:
<ul class="my_list">
<? $zero = '0';
for($rn = 1; $rn <= $traffic_rows_nr; $rn++){ ?>
<li><script language="JavaScript">showLink(<? echo $rn; ?>)</script></li>
<? } ?>
</ul>
Thank you!
Something like
or…