Jump to content

_IEGetObjById not working


Go to solution Solved by Danp2,

Recommended Posts

hi,can someone help me with IE.au3 

can not get value by id

#include <IE.au3>

Sleep(1000)
$oQuery = _IEGetObjById ($oIE, "get_now_msg")
MsgBox(4096,"", $oQuery)
 
 
i can make its work with Mozila FF.au3
 
#include <ff.au3>
Sleep(1000)
$oQuery = _FFXpath("//div[@id='get_now_msg']", "textContent", 2)
 MsgBox(4096,"", $oQuery)
 
but with IE.au3 have tried a lot of of combination with no results,can someone help me?
Link to comment
Share on other sites

 

The _IEGetObjById is working fine. It's your MsgBox that is the issue (you can't display an object reference). Try this instead:

MsgBox(4096,"", $oQuery.innerHTML)

 

Sorry for the offtopic, there's any doc/help file with all the VB comands we can use with IE objects? (like the one you used, innerHTML)

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...