|
本帖最后由 tuoxiansp 于 2010-6-16 14:27 编辑
先给出我的错误信息:
MsgBox(0, "Form Input Type", "Form: " & $oem.title & " ??: " & $oem.onclick & "class:"& $oem.class )
MsgBox(0, "Form Input Type", "Form: " & $oem.title & " ??: " & $oem.onclick & "class:"& $oem.class ^ ERROR
;============================================
;============================================
帮助文档中的_IETagNameGetCollection的例子
;============================================
#include <IE.au3>
$oIE = _IE_Example ("form")
$oInputs = _IETagNameGetCollection ($oIE, "input")
For $oInput In $oInputs
MsgBox(0, "Form Input Type", "Form: " & $oInput.form.name & " Type: " & $oInput.type)
Next
;++++++++++++++++++++++++++++++++++++++++++++
我想模仿这个例子,尝试获取标签中onclick的值
;=============================================
; 标签代码
<em title="挑战TA" class="fightreadygo" onclick="tohappyfight(328972374)"/></em/>
;+++++++++++++++++++++++++++++++++++++++++++++
下面是我的代码.gif)
MsgBox(0, "Form Input Type", "Form: " & $oem.title & " 事件: " & $oem.onclick & "class:"& $oem.class )
++++++++++++++++++++++++++++++++++++++++++++++++
请问该如何返回onclick中的值字符串.gif) |
|