What's the syntax to query the value

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
songdg
Posts: 561
Joined: 04 Oct 2017, 20:04

What's the syntax to query the value

21 Apr 2021, 22:14

PageInstance := ChromeInst.GetPage()
; get the globalGrid content's outerHTML
grid_html:=PageInstance.Evaluate("document.getElementsByClassName('ew-c-globalGrid-content')[0].outerHTML").value
Now, I don't know how query the td elements.
Image
Image
Last edited by songdg on 29 Apr 2021, 04:23, edited 1 time in total.
songdg
Posts: 561
Joined: 04 Oct 2017, 20:04

Re: What's the syntax to query the td elements with chrome library

29 Apr 2021, 04:22

PageInst.Evaluate("document.querySelectorAll('.ew-c-globalGrid-content')[0].querySelectorAll('tr')[0].innerHTML;").value
Now I can get the innerHTML, still don't know how to query the value.
Image

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: wilkster and 325 guests