Jump to content

Recommended Posts

Posted

I need to get "123456789" from the following html code of a web page.

<span id="idname" class="classname">123456789</span>

I use the following code to open an IE window, load web page and get the span object by id.

$IE = _IECreate($WebsiteUrl)
$spanValue = _IEGetObjById($IE, "idname")

Now, how can I get the span content? Is there a way?

Thank you

Posted

The help file offers an example when you have a look at _IEGetObjById.

My UDFs and Tutorials:

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

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