由“警报”触发的事件 [英] Event fired by "alert"

查看:70
本文介绍了由“警报”触发的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找Internet Explorer针对警报触发的事件:


< SCRIPT>

警报( 你已经打开了一个会话。

< / SCRIPT>


该活动将是webBrowser.Document.?????br / >

非常感谢你能给我的任何帮助。

谢谢,

Alistair Saldanha

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

推荐答案




Ahhhhhh,什么!?


Danny

-

使用Opera革命性的电子邮件客户端: http://www.opera.com/mail/


Danny说:


啊,什么!?

Ahhhhhh, what!?




这是一个相当无用的帖子,浪费了每个人b / b $ b读取它的时间。你本可以要求澄清问题,或指出具体的错误观念。在任何情况下,我都希望你

也会引用足够的帖子,你回复了

,以便其他人知道你在质疑什么。



That''s a rather useless post, wasting the time of everyone who
reads it. You could have asked clarifying questions, or pointed
out specific misconceptions. In any case, I would hope that you
would also quote enough of the post that you were responding to
to allow others to know what you''re questioning.


我是发帖子的人。我不想让我的消息

太长,但它可能太短暂了。我正在使用Visual Basic通过自动化控制Visual Basic窗体上的

WebBrowser控件。例如,如果有人在Internet Explorer中单击一个名为Xbutton的按钮,则

基本代码将是:


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


当用户点击Xbutton时,这将运行Class1中的默认方法。


我正在寻找相同的警报路径:


< SCRIPT>

警报(您已打开会话)

< / SCRIPT>


我假设这条路可能是这样的:


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


谢谢,

Alistair

" ; Alistair Saldanha <二****** @ cox.net>在消息中写道

新闻:KXUEe.27410
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" <di******@cox.net> wrote in message
news:KXUEe.27410


这篇关于由“警报”触发的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆