ScooterNorm
New Member
- Joined
- Feb 25, 2024
- Messages
- 22
- Office Version
- 2016
- Platform
- Windows
I’m trying to get the value from there <a href… elements. Here's where I'm stuck.
I've done the following but then I can't figure out what to do next: ht.getElementsByClassName("value").getElementsByTagName("a").innerHTML
Thanks for your help,
Here's the HTML which I think is relevant.
...
<div class="double table">
<div class="row">
<div class="key">Correspondent Addr:</div>
<div class="value">
<a href="MyAddr@gmailcom">MyAddr@gmailcom</a>
<a href="My22@gmail.com">My22@gmail.com</a>
</div>
<div class="key">Correspondent Addr Authorized:</div>
<div class="value"> Yes </div>
</div>
</div>
...
Note: I’m a novice at this and any help would be appreciated.
I've done the following but then I can't figure out what to do next: ht.getElementsByClassName("value").getElementsByTagName("a").innerHTML
Thanks for your help,
Here's the HTML which I think is relevant.
...
<div class="double table">
<div class="row">
<div class="key">Correspondent Addr:</div>
<div class="value">
<a href="MyAddr@gmailcom">MyAddr@gmailcom</a>
<a href="My22@gmail.com">My22@gmail.com</a>
</div>
<div class="key">Correspondent Addr Authorized:</div>
<div class="value"> Yes </div>
</div>
</div>
...
Note: I’m a novice at this and any help would be appreciated.