Horrid
Programmer
- May 20, 1999
- 373
I'm trying to get all the links out of a web page, getting the urls the links go to isn't a problem, but does anyone know how to get the link text.
eg <a href=demo.html> I WANT THIS TEXT </a>
anything inside the <a href> part is not a problem, IE exposes all the methods required to get that out but it seems to lack methods for getting the visible link text.
Basically what I want to end up doing to capturing the text of the link when they click on it, currently I can only get the url.
I am using the IHTML interfaces to access the pages.
Thanks in advance
eg <a href=demo.html> I WANT THIS TEXT </a>
anything inside the <a href> part is not a problem, IE exposes all the methods required to get that out but it seems to lack methods for getting the visible link text.
Basically what I want to end up doing to capturing the text of the link when they click on it, currently I can only get the url.
I am using the IHTML interfaces to access the pages.
Thanks in advance