I have a Button setup and I am wondering how I would run the meta only once the button is pressed.
Here is the button code:
<button type="button" class="btn btn-primary" onclick="waitingDialog.show();setTimeout(function () {waitingDialog.hide();}, 900000);">
Show dialog
</button>
and I want to run this meta once the button is pressed:
<meta http-equiv="refresh" content="3;url=http://www.example.com"/>
The onclick function basically opens a popup that tells the user that the page is loading
Thanks
-Tom