'Reference hyperlink from button with JavaScript

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?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source