找回密码
 加入
搜索
查看: 2697|回复: 7

[IE类操作] 请问各位大侠,如何实现或者用什么命令点击页面中的查询和保存?谢谢!

  [复制链接]
发表于 2012-6-22 18:52:06 | 显示全部楼层 |阅读模式
<form>
<div class="noprint"  style="position: absolute; left: 34mm; top: 5mm;">
<img src="fp042_gbf.jpg" width="775" height="514"  class="noprint" style="position: absolute; width: 170.7mm; height:117mm; left: 0px; top: 0px;">
</div>


<center class=noprint>
        <table width="100%"  border="0" cellpadding="0" cellspacing="0" id="AutoNumber1" style="a position: absolute; position: absolute; left: 280px; top: 137.319mm; width: 375px; height: 43px;">
          <tr>
                <td width="33%" class=noprint valign="top">
                        <input onclick="chaxun()" type="button" value="查询">
                        <input onclick="baocun()" type="button" value="保存">
                        <input onclick="document.all.webbrowser.execwb(8,1)" type="button" value="设置">
                        <input onclick="document.all.webbrowser.execwb(7,1)" type="button" value="预览">
                </td>
          </tr>
        </table>
</center>
</form>
发表于 2012-6-22 19:06:48 | 显示全部楼层
楼主既然知道是ie类,到帮助里找啊,别说找不到,或是没相同的
 楼主| 发表于 2012-6-22 19:18:29 | 显示全部楼层
在帮助里找到的命令是_IEGetObjByName、_IEGetObjById 、_IEFormElementGetObjByName,IE源码中有ID,Name之类的会用。但上述的源码中找不到ID,Name,所以就没方向了。
 楼主| 发表于 2012-6-23 13:09:27 | 显示全部楼层
麻烦各位!有什么好的方法点击吗?后台的点击,用什么命令?
发表于 2012-6-28 23:24:19 | 显示全部楼层
用xmlhttp吧
发表于 2012-6-29 00:29:19 | 显示全部楼层
发表于 2012-6-29 08:58:20 | 显示全部楼层
用这个来获取元素对象吧_IETagNameGetCollection()
 楼主| 发表于 2012-7-18 21:44:10 | 显示全部楼层

RE: 请问各位大侠,如何实现或者用什么命令点击页面中的查询和保存?谢谢!

已解决,谢谢各位大侠!!!!!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-17 01:56 , Processed in 0.076563 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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