Issue 110: Javascript confirmation dialog box problem
http://code.google.com/p/v8/issues/detail?id=110

New issue report by liangzhu.feng:
in the confirmation dialog box, the blue rectangle is always focus on "Ok",
Try to use your TAB key to switch to cancel button, then press Enter, it
always return true, where using other key is working fine as mouse click.

sample code as follows:
------------
<script type="text/javascript">
function confirmInput()
{
   var ans = confirm("Ok or Cancel ");

   alert("You pressed "+ (ans ? "OK": "Cancel"));
}
</script>

<input type="button" onclick="confirmInput()"
          value="Show me the Question!" />

-------


Attachments:
        test.html  258 bytes


Issue attributes:
        Status: New
        Owner: ----

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to