p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript (http://p2p.wrox.com/forumdisplay.php?f=85)
-   -   custom alert (http://p2p.wrox.com/showthread.php?t=57499)

kanoorani May 5th, 2007 12:45 AM

custom alert
 
apart from alert() function, is there any way 2 create a custom alert message with our own text and buttons, for example
Are you sure you want to continue? Yes No


joefawcett May 5th, 2007 02:46 AM

Create a div with the required UI. You can then show/hide via style.visibility. Alternatively, in IE only, you can use createPopup().

Please don't post the same question across forums, it's very annoying when one spends time answering a question only to find an identical answer has already been given.


--

Joe (Microsoft MVP - XML)


All times are GMT -4. The time now is 12:49 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.