chenxu Posted October 1, 2008 Posted October 1, 2008 (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) Nextmy 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 October 1, 2008 by chenxu
chenxu Posted October 1, 2008 Author Posted October 1, 2008 (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 October 1, 2008 by chenxu
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now