Also see http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirm
Created attachment 15752 [details] reduce test case The text of the reduce test case: <html> <head> <script type="text/javascript"> function disp_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="disp_prompt()" value="Display a prompt box" /> </body> </html>
Tested on MacOS 10.4.4 Safari 2.0.3 (417.8) WinXP Safari 3.0 (522.11.3) S60 3.2
Fails on: - MacOS 10.4.4 Safari 2.0.3 (417.8) - WinXP Safari 3.0 (522.11.3) - S60 3.2 Works on: - IE 6.0 - Firefox 2.0.05
*** This bug has been marked as a duplicate of 14709 ***