Sign in
chromium
/
codesearch
/
chromium
/
src
/
HEAD
/
.
/
chrome
/
test
/
data
/
textinput
/
focus_input_on_load.html
blob: aadbaba4e53b47f6397ce5b6bea22a2bf4816752 [
file
] [
log
] [
blame
]
<html>
<head>
<script>
window
.
onload
=
function
()
{
document
.
getElementById
(
'text_id'
).
focus
();
};
</script>
</head>
<body>
<p>
Some text so the document is ready for input.
</p>
<input
type
=
"text"
id
=
"text_id"
>
</body>
</html>