12345678910111213141516171819 |
- <html>
- <head>
- <title>Testing Alerts</title>
- </head>
- <body>
- <h1>Testing Alerts and Stuff</h1>
- <div id="text"></div>
- <p>This tests alerts: <a href="#" id="alert" onclick="alert('cheese');">click me</a></p>
- <p>This is a test of a prompt: <a href="#" id="prompt" onclick="alert(prompt('Enter your name'));">test prompt</a></p>
- <p>This is a test of a confirm: <a href="#" id="confirm" onclick="alert(confirm('Are you sure?'));">test confirm</a></p>
- </body>
- </html>
|