1/9/2025 4:50 PM | |
Joined: 1/21/2013 Last visit: 2/14/2025 Posts: 3552 Rating:
|
Hi, The addEventListener() method would need a DOM element to add the event. However, you cannot access DOM elements with JavaScript in WinCC Unified because all scripts are executed on the server side. As far as I know, it should be possible by using Custom Web Controls (CWC), but I cannot advise you in more detail and it might be difficult to get the events caught by the CWC. Not sure if you need to get the CWC in focus. Kind regards |
This contribution was helpful to
1 thankful Users |
Follow us on