|
-
Nov 8th, 2004, 08:50 AM
#1
Thread Starter
Junior Member
[SOLVED] IE/Webcontrol/DOM Question regarding Links and/or Anchors
Well another day another roadblock. My current problem:
I need to retrieve the url of a link, searching by the value of what is in the link.
IE: <a href="www.fakepage.net">123abc</a>
I want to search for 123abc, and have the return be "www.fakepage.net". There is no real correlation between the link and the href, so I cant search any other way really.
I'm sure it's possible, just not really sure how, cant find anything too useful on MSDN or the forums, though I'll keep searching.
Hope to hear from someone soon,
- Ripshaft
PS: It is safe to assume no 2 links will have the same text in their <a> </a> portion.
Last edited by Ripshaft; Nov 8th, 2004 at 10:09 AM.
- Ripshaft
-
Nov 8th, 2004, 09:33 AM
#2
-
Nov 8th, 2004, 10:08 AM
#3
Thread Starter
Junior Member
Damn, once again TheVader, you kick all different kinds of webcontrol ass. That works quite well, just need to make a few adjustments and I'm set, this will make a major difference in the functionality of my program.
You've also provided me with a lil more insight into the versitility of the item() array and the innertext function which I should be able to use in other areas.
Thanks alot, Solved!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|