0

I'm using TWebBrowser component of Delphi to create a system that interacts with the site. So far so good, I can run the website javascript correctly, the problem is when you need to get an answer in Delphi the javascript function in html, I did not find anything to do that. For example, I click a button on Delphi and perform the JS function within the browser, it returns me as True value, I need Delphi take this value in a variable or something.

Anderson Nunes
  • 279
  • 3
  • 14
  • Possible duplicate of [Callback Delphi function from TWebBrowser by javascript on Delphi XE6 for all platforms (including iOS, ANDROID)?](http://stackoverflow.com/questions/23416086/callback-delphi-function-from-twebbrowser-by-javascript-on-delphi-xe6-for-all-pl) – Free Consulting Oct 20 '16 at 18:07

1 Answers1

0

Solved: used this

Callback Delphi function from TWebBrowser by javascript on Delphi XE6 for all platforms (including iOS, ANDROID)?

If anyone knows a better way, feel free to contribute.

Community
  • 1
  • 1
Anderson Nunes
  • 279
  • 3
  • 14