Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
bancov96 каза:Код:function alert_x() { window.alert('Някакъв текст'); }
И в HTML формата си слагаш:
Код:<input type="submit" name="submit" id="submit" value="submit" onclick="alert_x();" />
<script type="text/javascript">
alert('След натискането на ок ще бъдете пренасочени.');
location.href='thankyou.html';
</script>