Files
wehub-resource-sync dfb0b33892
Workflow Lint / actionlint (push) Has been cancelled
Build CI Image / build (push) Has been cancelled
Skill Docs Freshness / check-freshness (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:59:46 +08:00

16 lines
603 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test Page - Dialog</title>
</head>
<body>
<h1>Dialog Test</h1>
<button id="alert-btn" onclick="alert('Hello from alert')">Alert</button>
<button id="confirm-btn" onclick="document.getElementById('confirm-result').textContent = confirm('Are you sure?') ? 'confirmed' : 'cancelled'">Confirm</button>
<button id="prompt-btn" onclick="document.getElementById('prompt-result').textContent = prompt('Enter name:', 'default') || 'null'">Prompt</button>
<p id="confirm-result"></p>
<p id="prompt-result"></p>
</body>
</html>