HTML Viewer JavaScript

Is there a way to have my Web App respond to a Javascript in my HTML Viewer? eg create a handler event for the control that responds to the script?

Background: I have a video player script gathered from my CDN. It has a javascript function that fires off every-so-many-seconds. I needs that to trigger a database update for the viewer’s viewing history, etc… I’d like to use Xojo to response to the event and update the DB, instead of the Ajax script I having doing it for the old website I am replacing.

thanks in advance!

As a good idea, it is to include a dummy webSDK control which it will handle any event that fires with Xojo.triggerServerEvent (javascript). Then through the execute Event (Xojo dummy WebControlWrapper), you can update your database

Interesting. I will look at that.

Thanks!