Running Click event with no result

◇◆丶佛笑我妖孽 提交于 2019-12-12 03:42:41

问题


Can someone explain to me why when I click on the following element, the form is not sent. The element is identified however there is no result. This is the part of the code i am interested in solving, everything up to this point is running fine.

Set IEDoc = Internet.document

Set collection = IEDoc.getElementsByTagName("input") ' there are actually 9 elements

For Each Element In collection
    If Element.Type = "image" Then ' there is only the element of interest in here
        Element.Click


        End If
Next

Here is a sample of the HTML code from the webpage:


回答1:


Here is a bigger scale of the HTML code from the page in which we can see the form containing the button to submit the information.html code bigger scale

user interface of the webpage



来源:https://stackoverflow.com/questions/40492161/running-click-event-with-no-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!