sleepybear
asked on
Followup to OnClick event question
Please refer to this question that I asked a few minutes ago...
https://www.experts-exchange.com/questions/21415330/Insert-onClick-on-all-a-tags-dynamically.html
I like the answer, but it got me thinking. How would you do this
such that it returned the info between the <a></a> tags?
In other words, instead of returning...
"http://www.google.com", "http://www.yahoo.com" and "https://www.experts-exchange.com",
... it returns "Google", "Yahoo" and "EE"?
Thanks,
SleepyBear
https://www.experts-exchange.com/questions/21415330/Insert-onClick-on-all-a-tags-dynamically.html
I like the answer, but it got me thinking. How would you do this
such that it returned the info between the <a></a> tags?
In other words, instead of returning...
"http://www.google.com", "http://www.yahoo.com" and "https://www.experts-exchange.com",
... it returns "Google", "Yahoo" and "EE"?
Thanks,
SleepyBear
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER