qutebrowser/tests/end2end/data/insert_mode_settings/html/autofocus.html
2016-10-06 10:40:28 +02:00

21 lines
676 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inputs Autofocus</title>
<script type="text/javascript">
function setup_event_listener() {
var elem = document.getElementById('qute-input-autofocus');
console.log(elem);
elem.addEventListener('input', function() {
console.log("contents: " + elem.value);
});
}
</script>
</head>
<body onload="setup_event_listener()">
<input id="qute-input-autofocus" type="text" autofocus value=""/>
<input id="qute-input-disabled" disabled="disabled" href="#"/>
</body>
</html>