Click here to Skip to main content
16,011,870 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: What is the difference between JDK and JRE? Pin
David Salter19-Sep-02 11:22
David Salter19-Sep-02 11:22 
GeneralRe: What is the difference between JDK and JRE? Pin
George Ma19-Sep-02 17:18
George Ma19-Sep-02 17:18 
AnswerRe: What is the difference between JDK and JRE? Pin
HoseaH19-Sep-02 20:51
HoseaH19-Sep-02 20:51 
GeneralRe: What is the difference between JDK and JRE? Pin
George Ma20-Sep-02 2:34
George Ma20-Sep-02 2:34 
GeneralA good book on Client/Server developpment Pin
Olivier REIX19-Sep-02 2:26
Olivier REIX19-Sep-02 2:26 
Generalcalling a subprocedure Pin
mcm19-Sep-02 2:04
mcm19-Sep-02 2:04 
GeneralRe: calling a subprocedure Pin
Paul Watson19-Sep-02 3:30
sitebuilderPaul Watson19-Sep-02 3:30 
GeneralIHTMLAnchorElement --- Help please Pin
Gegzy19-Sep-02 0:55
Gegzy19-Sep-02 0:55 
Hi
Scenario:
I have a web page which is updated at very regular intervals. This page contains various links which change throughout the course of the day. My project is using MFC.

Problem:
I am using IHTMLElementCollection to get a list of anchors (<a>) which is working OK. I can obtain each anchor from this collection by assigning to IHTMLAnchorElement.

I need two bits of information. Firstly, the HREF from each anchor (which I can easily obtain by calling GetHref()).

The second piece of info I need is the text that the HREF is associated with...

For Example
.
.
<a href="www.sample-link.com">CLICK ME NOW!!!</a>

A call to GetHref() returns me "www.sample-link.com". What I'm also after is the text "CLICK ME NOW!!!"

Any ideas on how to do this?

Thanks In Advance



Gegzy
GeneralRe: IHTMLAnchorElement --- Help please Pin
Gegzy19-Sep-02 11:06
Gegzy19-Sep-02 11:06 
GeneralRe: IHTMLAnchorElement --- Help please Pin
Stephane Rodriguez.19-Sep-02 19:35
Stephane Rodriguez.19-Sep-02 19:35 
GeneralSQL login problem from ASPNET Pin
leppie18-Sep-02 23:34
leppie18-Sep-02 23:34 
GeneralSolved Pin
leppie19-Sep-02 1:01
leppie19-Sep-02 1:01 
GeneralSMTP in Windows2000 Adv Server Pin
hien_ng8018-Sep-02 23:24
hien_ng8018-Sep-02 23:24 
QuestionHost ASP in my app? Pin
CherezZaboro18-Sep-02 9:20
CherezZaboro18-Sep-02 9:20 
Generalerror handling and message boxes Pin
mcm18-Sep-02 5:59
mcm18-Sep-02 5:59 
GeneralRe: error handling and message boxes Pin
Megan Forbes18-Sep-02 8:27
Megan Forbes18-Sep-02 8:27 
Generalretaining state for checkboxes and radio buttons Pin
mcm17-Sep-02 23:03
mcm17-Sep-02 23:03 
GeneralRe: retaining state for checkboxes and radio buttons Pin
benjymous18-Sep-02 5:11
benjymous18-Sep-02 5:11 
Generalreset button Pin
mcm17-Sep-02 22:46
mcm17-Sep-02 22:46 
GeneralRe: reset button Pin
raajsekhar20-Sep-02 1:02
raajsekhar20-Sep-02 1:02 
QuestionIs There A Decent ASP Book? Pin
Roger Wright17-Sep-02 20:06
professionalRoger Wright17-Sep-02 20:06 
AnswerRe: Is There A Decent ASP Book? Pin
Paul Watson17-Sep-02 21:25
sitebuilderPaul Watson17-Sep-02 21:25 
GeneralRe: Is There A Decent ASP Book? Pin
Roger Wright18-Sep-02 4:13
professionalRoger Wright18-Sep-02 4:13 
GeneralRe: Is There A Decent ASP Book? Pin
Paul Watson18-Sep-02 4:32
sitebuilderPaul Watson18-Sep-02 4:32 
GeneralRe: Is There A Decent ASP Book? Pin
Roger Wright18-Sep-02 4:41
professionalRoger Wright18-Sep-02 4:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.