NetTalk Central

Author Topic: Websocket - javascript  (Read 576 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 417
    • View Profile
    • Email
Websocket - javascript
« on: February 11, 2024, 11:01:15 PM »
Hi Bruce

I would like to run a javascript when a host value is changed via websocket. In the template, there is room for javascript on the bottom line, but it doesn't really seem to have any effect. Am I thinking wrong or...

Regards Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11130
    • View Profile
Re: Websocket - javascript
« Reply #1 on: February 12, 2024, 04:09:55 AM »
post an example app Niels.

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 417
    • View Profile
    • Email
Re: Websocket - javascript
« Reply #2 on: February 12, 2024, 06:58:19 AM »
Yes of course. Coming here..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11130
    • View Profile
Re: Websocket - javascript
« Reply #3 on: February 12, 2024, 09:35:04 PM »
thanks. I've made some tweaks, and will add some docs for that setting for 14.18

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 417
    • View Profile
    • Email
Re: Websocket - javascript
« Reply #4 on: February 20, 2024, 11:01:25 PM »
Thanks Bruce, for the update.
It works perfectly.
Really gives a lot of possibilities.