Hi all
i use ComObjCreate("InternetExplorer.Application")
i want change the value 112233
anyone can help me?
i tryed wb.document.getElementById("bikesice").value := "888888" but not work
ComObjCreate("InternetExplorer.Application")
Re: ComObjCreate("InternetExplorer.Application")
there should be ID for getElementById but this <input tag have no id but name so you just need name getElementsByName as there is possibility for multiple name we have to define array number getElementsByName(somename)[x]
Code: Select all
wb.document.getElementsByName("bikesice")[0].value := "888888"
"When there is no gravity, there is absolute vacuum and light travel with no time" -Game changer theory
Re: ComObjCreate("InternetExplorer.Application")
thx a lot Xeo786
this works nice
wb.document.getElementsByName("bikesice")[0].value := "888888"
can u tell me how i can put in a variable i tryed with
wb.document.getElementsByName("bikesice")[0].value := "%Main%"
and
wb.document.getElementsByName("bikesice")[0].value := %Main%
but always get error
thx for your time
this works nice
wb.document.getElementsByName("bikesice")[0].value := "888888"
can u tell me how i can put in a variable i tryed with
wb.document.getElementsByName("bikesice")[0].value := "%Main%"
and
wb.document.getElementsByName("bikesice")[0].value := %Main%
but always get error
thx for your time
Re: ComObjCreate("InternetExplorer.Application")
It's expression syntax:
Code: Select all
Main := 444
wb.document.getElementsByName("bikesice")[0].value := Main