We all know that there is method in HTML to display alert ( alert()
method).
But I want to display a HTML page as alert.
you can try this one:
<script type="text/javascript">
window.onload = function(){ alert("Hi there"));}
</script>
or
<script type="text/javascript">
alert("Hello world");
</script>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.