Hi,
How the best way to change html content on webview programmatically?
Regards,
Printable View
Hi,
How the best way to change html content on webview programmatically?
Regards,
Hi Jefferson,
Lianja.get("page1.section1").webview.url = "..."
For a webview in a canvas section:
Lianja.get("page1.section1.field5").url = "https://...."
Lianja.get("page1.section1.field5").html = "hello world"
Note that you can call JavaScript function *inside* WebViews using:
Lianja.get("page1.section1").evaluate(" yourFunction(...) ");
Lianja.get("page1.section1.field5").evaluate(" yourFunction(...) ");
This provides the ability to interact with code in the WebView which can update the UI dynamically.
You can therefore interact with any internal webview content without having to reload it.