Android ignores javascript prompt
<p>I'm simply asking the user to answer two questions.  On most browsers the answers are displayed in the test1 and test2 divs respectively.  Except on the native browser of Android v2.3.4 (HTC Sensation) where test2 remains 'unknown'.  Any help much appreciated.</p>

<pre><code>&lt;html&gt;
&lt;head &gt;
&lt;script src="../scripts/jquery-1.6.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    function testInput() {
        var tmpVal1 = prompt("Driver name", "");
        $("#test1").text(tmpVal1);
        var tmpVal2 = prompt("Inspector name", "");
        $("#test2").text(tmpVal2);
    }

    $(document).ready(function () {
        $("#test1").text("Unknown");
        $("#test2").text("Unknown");
    });

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id="test1"&gt;&lt;/div&gt;
    &lt;div id="test2"&gt;&lt;/div&gt;
    &lt;button onclick="testInput()" &gt;set names&lt;/button&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
