the correct thing to do at this point is to factor out "show a yes/no popup window to user" the complexity in "open a window and then execute some code in the context of that window" is mind-boggling nothing works
20 lines
263 B
HTML
20 lines
263 B
HTML
<!DOCTYPE html>
|
|
|
|
<!-- HTML page for a "generic dialog" -->
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<h1 id="title-h1"></h1>
|
|
|
|
<pre id="miscinfo"></pre>
|
|
|
|
<br>
|
|
<button id="good">Yes</button>
|
|
<br>
|
|
<button id="bad">No</button>
|
|
|
|
<body>
|
|
</html>
|