blob: 0535d241e50ebfc31c02c27e73d74338d7b457ba [file] [log] [blame]
<html>
<head>
<script>
function state_changed(xhr) {
if (xhr.readyState == 4) {
window.top.location.href = "done.html";
}
}
function send_xhr() {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() { state_changed(xhr); };
xhr.open("GET", "password_xhr_submit.html", true);
xhr.send(null);
}
</script>
</head>
<body>
<input type="text" id="username_field">
<input type="password" id="password_field">
</body>
</html>