harshpandya Posted March 12, 2008 Share Posted March 12, 2008 Can you please help??I want an alert message that waits for 5 seconds and then closes by itself.how can i do this?please Help Link to comment Share on other sites More sharing options...
jeffman Posted March 12, 2008 Share Posted March 12, 2008 Can't be done. There is no DOM access to an alert. In fact, alert and confirm calls are disappointingly stingy. I'd like to see a whole range of options.You could always design a pseudo-alert using a "floating" div with alert-like controls in it. To get the real effect, you'd want to capture mouseclicks and keydowns everywhere outside the alert. Can be done. If you've never done something like that, the learning curve will be steep, but it is a good project. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.