I have a web page with dynamically generated hyperlinks in a grid view. For every hyperlink should be a corresponding button, which does nothing else than calling the link. How can I reference the href property from my clientclick button event and call it?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Depending on how you are retrieving the hyperlink, you could just do something like the following: Html:
Javascript:
|
|||
|
text-decoration:none;
and making sure the:hover
and:visited
pseudo-class does what you want. This would also be the progressive enhancement solution. – PHPglue Nov 5 '13 at 22:56