Pascal function call via javascript

Hello friends, I created a procedure in pascal where it passes a string parameter, and I would like to know how can I access this procedure from within a javascript event, such as a sweetalert button? An example is attached. (801.3 KB)

Something like pas.Unit1.Form1.testmsg("xxx");

Ken Randall thank you very much, this is exactly what I needed. I'm really excited about TMS Web Core :)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.