26 lines
632 B
HTML
26 lines
632 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
|
|
<head>
|
|
<title> Test JS alert message </title>
|
|
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
|
|
function show_alert() {
|
|
name = alert("This is an alert message. <br>Only one \"Close\" button is used.");
|
|
}
|
|
alert("adasdas");
|
|
</SCRIPT>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>test JS alert message</h1>
|
|
<br>
|
|
This test should send a message using alert() on javascript. This tipically means
|
|
a popup showing the message with a button to close it.
|
|
|
|
|
|
<p><input type='button' value='Show alert' onClick='show_alert()'></p>
|
|
|
|
</body>
|
|
</html>
|