Geeks With Blogs
Ben Bastiaensen Living the .NET live

By default IE7 does not allow the prompt() method to be executed. But you can enable this again.

In IE go to the menubar, select "Extra", "Options". Take the tab page "Security". Click the customize button at the security zone part. Look for "Websites are allowed to use scripts to prompt for information" and enable it. (screenshot on Dutch Vista)

IE Prompt

Clikc "Ok" twice. Close your browser and open it again. The pompt() function should now work.

Posted on Thursday, March 19, 2009 2:17 PM ASP.NET , Javascript | Back to top

Comments on this post: Using javascript prompt() in IE7

# re: Using javascript prompt() in IE7
Requesting Gravatar...
Nice Tip!
Left by Online Traffic School on Jan 31, 2011 11:25 PM

Your comment:
 (will show your gravatar)

Copyright © Ben Bastiaensen | Powered by: