Solved

Webbrower anchor tag retrieval

Posted on 2002-07-23
3
476 Views
Last Modified: 2010-04-04
Hello,

I have a problem when retrieving a anchor 'a' tag with the twebbrowser document object.  

Specifically when the hyperlink contains a space - this gets converted to a '+' sign in the text source file (view source from browser) but when the string is viewed in delphi (and used) the part of the hyperlink which contained the '+' is missing causing the link to fail.
i.e.

&psuburb=mona+vale&

is part of the hyperlink in question yet when viewed from the delphi variable (string) I get

&psuburb=&

I know how to hande the & but not missing data.

I have even tried getting the Inner html from the underlying table row in the document with the same result.

Any ideas????
0
Comment
Question by:Zonman
3 Comments
 
LVL 26

Accepted Solution

by:
EddieShipman earned 100 total points
ID: 7203449
Use the httpdecode function in httpapp.pas to decode
the URL returned and httpencode to send it back encoded.
0
 

Expert Comment

by:CleanupPing
ID: 9343000
Zonman:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 9461532
Zonman,
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to EddieShipman http:#7203449

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question