Menu
Hi,
I need to know that how can I access the text that appears on a HTML page for a hyperlink. (i.e. I need to access “My Link” in the example below) Using the text property of the anchor object doesn’t work if I have created a link on my page as
<a href=”javascript:void(0);”>My Link</a>
However, creating a link as <a href=”javascript:void(0);” text=”some text”>My Link</a> gives me “some text”. Can anyone help me on this?
Thanks in advance.