You could try and switch the button into a link, e.i., <a>
.
Then you could attach a click
event to the link, so it could work like a button. For example submit the page:
<a href="https://www.link-to-display" onclick="clickFunction()">https://www.link-to-display</a>
The clickFunction()
must then be defined and do what you want it to do...
<script type="text/javascript">
function clickFunction() {
window.open("https://www.link-to-display");
SoSciTools.submitPage()
}
</script>
Further (or less) contents may be necessary, depending on what your button currently does.