« Back to Product

Documentation

translateHTML

Require: IP-Symcon >= 7.1

 void translateHTML (object Node) 

Parameters

Node

An HTML element

Returns

No return

Description

Translates and overwrites the text content of the HTML element node and all its children.

Warning

When the visualization is initially loaded, this function is automatically applied once to the entire document. It is therefore only really necessary to use it if elements are dynamically adapted

Example

// Übersetze Inhalt des Textblockes 'info'
translateHTML(document.getElementById('info'));
Any questions?