Re: Event fired by "alert"
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Event fired by "alert"

From: Alistair Saldanha <dizzysal@cox.net>
Date: Mon Jul 25 2005 - 06:41:36 CEST

I am the person who made the original post. I didn't want to make my message
too long but it may have been too brief. I'm using Visual Basic to control a
WebBrowser control on a Visual Basic form through automation. For instance,
if someone clicks a button named Xbutton in Internet Explorer the Visual
Basic code would be:

WebBrowser.Document.All("Xbutton").OnClick = Class1

This will run the default method in Class1 when the user clicks Xbutton.

I'm looking for the same pathway for an alert:

<SCRIPT>
Alert("You already have a session open")
</SCRIPT>

I'm assuming the pathway would be something along the lines of:

WebBrowser.Document.All("???") = Class2

Thanks,
Alistair

"Alistair Saldanha" <dizzysal@cox.net> wrote in message
news:KXUEe.27410$mC.13022@okepread07...
> I'm looking for the event that is fired by Internet Explorer to an
> "alert":
>
> <SCRIPT>
> Alert("You already have a session open")
> </SCRIPT>
>
> The event would be webBrowser.Document.????
>
> Much appreciate any help you can give me.
> Thanks,
> Alistair Saldanha
>
>
>
Received on Tue Oct 18 03:01:01 2005