找回密码
 加入
搜索
查看: 2036|回复: 3

关于网页中 javascript 触发问题!

[复制链接]
发表于 2009-1-15 23:32:05 | 显示全部楼层 |阅读模式
<a style="cursor:pointer;" onclick="reguser()"><img src="http://img1.popwan.com/templates/{GameTemplates}/{dgyz}/client/skins/default/images/join/reg.gif"></a>


如何能够定位到这个链接,并且点击他!~

_IELinkClickByIndex  试过不行!~
Not all elements that appear to be links actually are. It is common practice to attach onClick JavaScript events to other DOM elements to simulate the behavior of links. To activate such elements, use "click" with _IEAction.

要用 _IEAction 但是 如何定位到呢!~

[ 本帖最后由 cx22 于 2009-1-16 08:17 编辑 ]
 楼主| 发表于 2009-1-16 08:16:59 | 显示全部楼层
自己搞定 ,用 _IETagNameGetCollection ($oIE, "a") 可以获得
发表于 2009-1-16 09:32:32 | 显示全部楼层
祝贺。我也学到了
发表于 2009-1-16 15:19:54 | 显示全部楼层
不知有没试过_IEIMGCLICK()
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-19 17:13 , Processed in 0.071078 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表