I have a UIWebView loading a dynamic page. This dynamic page always has a link with the following HTML tag
<a id=xyz href=url>X Y Z</a>
The url of this link is also dynamic. Also, this link might be in a different place in the hierarchy of the HTML code of said page. What I would like to do is get the url from this link & store it in something like an NSString or something similar for use elsewhere.
Is there anyway to accomplish the above?
You can use:
to get the url as a string.