Jump to content

Recommended Posts

Posted

I use this code

$ifrs = _IETagNameGetCollection($oIE, "iframe")

MsgBox(0, 1, @extended)

Local $ifr

For $ifr In $ifrs

MsgBox(0, 1, $ifr.id)

If $ifr.id == "canvas_frame" Then ExitLoop

Next

MsgBox(0, 1, $ifr.id)

$divs = _IETagNameGetCollection($ifr, "div") ; get no divs here

MsgBox(0, 1, @extended&"div start")

but I can't get any divs at line $divs = _IETagNameGetCollection($ifr, "div")

Please help,

Posted

Since you didn't post much of a proper code, so I suggest replacing '==' in your script with '=', I think that's alright?

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Posted

Since you didn't post much of a proper code, so I suggest replacing '==' in your script with '=', I think that's alright?

You're wrong, '==' is right. I have no problem with it. But I have problem with $divs = _IETagNameGetCollection($ifr, "div").

$ifr is ok but I can't get any divs inside it. This is my problem.

Posted

I used _IEFrame* but not work so I used _IETagNameGetCollection. The problem is it works with iframes but not work with divs

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...