Search the Community
Showing results for tags 'iframes'.
-
Hi Guys, I have a very complex IE page with lots of Java and Iframes. I need to be able to look for a change in one <input> field. So what i have done is to identify the field and hook an event listener with ObjEvent($title, "_Evt_") and then i use : Func _Evt_OnChange() Local $o_object = @COM_EventObj ConsoleWrite( "Change" & $o_object.value &@CRLF) _FileWriteLine($MainLog, "Change:" & _NOW()) TitleCheck($o_object.value) EndFunc Which work fine user doesn't interact with some of the other buttons or radios on the page. As soon as the user does some interaction or refreshes the page or navigates - the event listener is 'deleted' somehow and no longer works. Any idea how to counteract that? The easiest this is to detect if there is ANY change on the page - then i can identify the INPUT and check for its value. Any idea how to do that ?
-
I logined to Gmail, then I tried to get its iframes, but no success $ifrs = _IEFrameGetCollection($oIE) MsgBox(0, 1, @extended) Local $ifr For $ifr In $ifrs MsgBox(0, 1, $ifr.id) // I run this code but there is no msgbox here [HELP ME TO EXPLAIN THIS] If $ifr.id == "canvas_frame" Then ExitLoop Next I run the code but there is no MsgBox at MsgBox(0, 1, $ifr.id). So I can't do anything more. Because as we know Gmail organized by iframes. If you fail to get iframe, you can do no more. Thanks for your help,