Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/focus-initial-osk-javascript.html
blob: 51ab5c0622095e304c1bf2e6ecfb9b3676f4fc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <title>Focus OSK test case</title>
    </head>
    <body onload="javascript: document.f.q.focus()">

        <p>This page will be loaded focusing on the input field. You
           can click the "Click me!" button to focus it again after
           loosing the focus by clicking outside. OSK should appear
           everytime the input field has the focus.</p>

        <form action="." name="f" target="_top">
            <input maxlength=2048 name="q" value="" style="height: 200px; width: 500px;"/>
            <input type="button" value="Click me!" style="height: 200px; width: 200px;" onclick="javascript: document.f.q.focus()" />
        </form>
</body>
</html>