I’ve been doing a lot of development in PHP+JavaScript and I’ve been using Firefox on OS X to test. I had some free time in school recently so I tried it on IE/WinXP. I’m come across a huge problem… does IE not handle prompt() the same way as Firefox!? I found the documentation for prompt the on Google and I never saw any IE-only notes. Here’s some code…
[CODE]
var newValue = prompt(‘Enter new value for C_Name’, ‘Name1’);
window.location = “/register2/dcs2.php?C_Name=”+newValue+”&PHPSESSID=f525dfa32b4edf1b96f15de3467910a6”;
That’s generated dynamically. Anyway, on Firefox, I enter a new value and click OK and the page reloads with the URI equal to the window.location. In IE, when I click OK, nothing happens, the browser just sits there.
Anyone have any idea what’s going on?