scinfu / SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
https://scinfu.github.io/SwiftSoup/
MIT License
4.53k stars 345 forks source link

Anchor Text with HyperLink Clickable #95

Closed ghousesgb closed 6 years ago

ghousesgb commented 6 years ago

My HTML looks like this Click Here . The issue is I can either show https://www.google.com using element.attr("href") and or show Click Here using element.text()

What I want is to show "Click Here" and on click on this open https://www.google.com.

scinfu commented 6 years ago

I do not understand what you are trying to do.

scinfu commented 6 years ago

Closed due to inactivity, if necessary re-open.