Jump to content

Recommended Posts

Posted (edited)

this is a example copied from autoit help

#include <IE.au3>
$oIE = _IE_Example ("basic")
$oElements = _IETagNameAllGetCollection ($oIE)
For $oElement In $oElements
    MsgBox(0, "Element Info", "Tagname: " & $oElement.tagname & @CR & "innerText: " & $oElement.innerText)
Next

my question is how to get the value of propterty of a tag, e.g.

<a href='/diary.view.php?user=oicqcx&id=10034541' target='_blank'>cmd: </a>

I wanna get '/diary.view.php?user=oicqcx&id=10034541' of tag 'a', How?

Edited by chenxu
Posted (edited)

#include <IE.au3>
$oIE = _IE_Example ("basic")
$oElements = _IETagNameAllGetCollection ($oIE)
For $oElement In $oElements
    MsgBox(0, "Element Info", "Tagname: " & $oElement.tagname & @CR & "[b]href[/b]: " & $oElement.[b]href[/b])
Next

Edited by chenxu

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...