Hi Herb,
So as you can see, you can call functions in the WebView using oWebView.evaluate() and those functions can use Lianja.evaluate() inside the WebView function to call other functions in...
Type: Posts; User: barrymavin
Hi Herb,
So as you can see, you can call functions in the WebView using oWebView.evaluate() and those functions can use Lianja.evaluate() inside the WebView function to call other functions in...
Both your onclick and your evaluate need to be enclosed in quotes and you call evaluate() in the WebView not the Lianja system object.
Mycall.evaluate("sayhi()")
Hi Herb,
All you need to do is get a reference to the WebView section in Lianja.
myview = Lianja.getElementByID("page1.section1").webview
If you define a JavaScript function in your WebView...
So...
Just evaluate() document.getElementById('name').value;
Hi Herb,
The WebView section has an evaluate() method which lets you execute JavaScript inside it.
http://www.lianja.com/doc/index.php/Webview