Element that displays the user data entry window.
- URL*: [String] dialog URL (For example: http://myserver/dialog.html или file:///c:/dialog.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Astro Dialog</title>
</head>
<body>
Имя:<br>
<input type="text" id="First_Name"><br>
Фамилия:<br>
<input type="text" id="Last_Name"><br>
Возраст:<br>
<input type="text" id="Age"><br>
<button onclick="SubmitValues()">Отправить</button>
<script type="text/javascript">
function SubmitValues(){
var First_Name = document.getElementById("First_Name").value;
var Last_Name = document.getElementById("Last_Name").value;
var Age = document.getElementById("Age").value;
window.external.finished(First_Name + "," + Last_Name + "," + Age);
return true;
}
</script>
</body>
</html>