In article <7b756057.0411090457.6af8ba40@posting.google.com >, barry-
news@sripd.com enlightened us with...[color=blue]
> To simplify the question, if I open a javascript alert with
>
> alert('Hi how are you, thanks for helping.');
>
> I need a way to cancel the alert. How can I kill the alert? Is there
> something like javascript.alert.cancel()?[/color]
Ah. I see.
Nope, there isn't.
You may want to reconsider using "real" alerts to notify your users if this
is a frequent problem. You can simulate an alert with a floating div and an
onclick handler.
In fact, you have to kill the whole web browser session if you do something
stupid like accidentally put an alert in a non-terminating loop. Not that
I've ever done that while debugging or anything. ;)
Out of curiosity, what's the problem with the user just clicking YES on the
confirm to dismiss it? After all, they walked away...
--
--
~kaeli~
"No matter what happens, somebody will find a way to take
it too seriously."
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace