Comment #1 on issue 24166 by danchay: w3schools tryit editor does not work  
in Chrome
http://code.google.com/p/chromium/issues/detail?id=24166

When using the following code, for example, Chrome fails to write the  
result in w3's
Result box. Works fine in Firefox.

***
<html>
<head>
<script type="text/javascript">
function show_prompt()
{
var name=prompt("Please enter your name","Harry Potter");
if (name!=null && name!="")
   {
   document.write("Hello " + name + "! How are you today?");
   }
}
</script>
</head>
<body>

<input type="button" onclick="show_prompt()" value="Show a prompt box" />

</body>
</html>
*****

--
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

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to