This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Custom Javascript - simple Hello World example?
#1
Hi!

I cannot get the "Custom Javascript" tool to function in Wiser for KNX from the menu Scripting > Tools > Edit custom JavaScript

This is the default content of the textfield:

$(function(){

  // your code here
});


Exactly what should I input here to make the js-code run in the web browser when using the Touch3 visualization?


I've tried replacing //your code here with console.log('Hello world') but the browser console reports nothing. Nor does log('Hello world in W4K') log anything to the Wiser for KNX "Logs"...

NB. I have mailed Schneider support (who usually respond within a week) but for two weeks I've received no answer...

Thanks!

Robert
Reply


Messages In This Thread
Custom Javascript - simple Hello World example? - by temp4 - 03.11.2022, 05:20

Forum Jump: