B4A Library how to get HREF from WevView ?

Ii needs to get URL (href) under latest cursor position.

Can a HREF under latest cursor position be got universally, i mean HREF of any tag type ?

Latest links i checked was (from http://solnet.ee):
B4X:
<a href="parents/index.html" onmouseover="iName='image2'; 
Ichange('changed2')" onmouseout="Ichange('default2')">
<img src="http://solnet.ee/pic/o22.gif" width="85" height="50" name="image2" border="0" alt="Родителям"></a>

Such link is detected by getHitTestResult as SRC_IMAGE_ANCHOR_TYPE, and lets get http://solnet.ee/pic/o22.gif URL. But needed href="parents/index.html".

Is there possibility to get HREF from such tag (or any other type) universally for sure (at latest cursor position) ?
 

peacemaker

Expert
Licensed User
Longtime User
So, question is open, but i jumped over the problem using the URL by OverrideUrl event.
 
Top