Want to hire a development team?
No Images Added Yet

Cross-browser alternative for javascript prompt

Rated4.3/5 (3 ratings)
Add to Favorites
Publisher
Very easy to install and use and is not based on css layers.
Product Details

In yet another sly move by Micro$oft, MSIE 7 has been designed to suppress the javascript prompt function, yet at the same time always allow their MSIE-specific showModalDialog method. This has broken millions of web sites. The work-arounds to this problem are any of these: 1. Use the showModalDialog method instead and thereby only support MSIE browsers (they wish). 2. Do away with using prompt dialogs completely. 3. Use simulated modal dialogs with layer's and key capturing (complicated and messy). 4. Use a class such as this to that mimics the javascript prompt function for MSIE 7 and up by using showModalDialog(). Usage: Place the files Prompt.js, Prompt.html, and Prompt.png together into any directory in your site. Do not rename any of the files or else it won't work. Place this line in the head section of your html: <script type="text/javascript" src="/path/to/Prompt.js"& gt; </script> Example: var name = Prompt.show('Who are you?');

Report this Listing
Price
Free
Licence Type
Free
Views
4,027
Submitted on
28th March 2007
Last Updated
28th March 2007
Licence Type
LGPL
License Price
USD 0

You May Also Like

Cloud Services You May Like

AWS Spot Instance / Server Deployment for Cost Reduction

Deploy servers using AWS Spot Instances to significantly cut hosting costs while keeping performance and flexibility for

1 Hour AWS issues/problems review and fix

One hour dedicated session to review and fix a specific AWS issue or problem.

Configure EC2 Auto Scaling

Setting up EC2 Auto Scaling to automatically adjust the number of servers based on traffic, performance, and demand.

Help/Fix on AWS Auto Scaling (1 Hour)

One hour of help to troubleshoot or fine tune AWS Auto Scaling behaviour.

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(3 ratings)
Average User Rating: 4.3/5
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.