Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
call JS from Delphi code
#1
There are many examples of the reverse, but none that gives you ability to call a JS function on a page from Pascal. Is it possible?

For instance, I want to submit a form. Which I have just dynamically created on the page.

I know that if I add some OnLoad JS somewhere and click some button synchronously, it would re-render the form, execute that OnLoad function and this can submit my form, but I'm trying to avoid reloading the form, I want the buttons to work asynchronously, so there will be no reload and any OnLoad events there would not fire.
Reply


Messages In This Thread
call JS from Delphi code - by iwuser - 11-11-2024, 07:30 AM
RE: call JS from Delphi code - by fishingtested - 11-11-2024, 09:26 AM
RE: call JS from Delphi code - by RenSword - 11-13-2024, 02:35 AM
RE: call JS from Delphi code - by iwuser - 11-13-2024, 05:37 AM
RE: call JS from Delphi code - by iwuser - 11-19-2024, 01:39 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)