Jump to content

IE - I can't read this number argh!


Recommended Posts

I'm trying to read the number 5 in the <span id="resultcount">5</span> from the IE screenshot.

Here is the code I've tried and which just returns two blank lines.

Local $oClassReturn = $oIE.document.getElementsByClassName("soldSummary")
If Not IsObj($oClassReturn) Then Exit ConsoleWrite("Error in $oClassReturn" & @CRLF)
Local $oTagReturn = $oClassReturn.Item(0).getElementsByTagName("resultcount")
If Not IsObj($oTagReturn) Then Exit ConsoleWrite("Error in $oTagReturn" & @CRLF)

ConsoleWrite(@CRLF & $oTagReturn.Item(0) & @CRLF)

 

1.JPG

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

×
×
  • Create New...