Atozed Forums

Full Version: Read value of HTML element back to delphi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a need to read the value of a rendered html element.
I added a iwbutton with script line for on-click event to get the value and show it using alert() and it works,  but really want to get the value (String) and save it to a local delphi variable.
alert(document.getElementsByClassName("fu-upload-listItem").length);   this works

how do I get the value back to delphi?
You can use async call backs which are shown in the demos.