Hi,
I would like to use an alert or console.log to show me values that I am testing.
These don't seem to be supported in Lianja.
Is there a different function I could use to output a value?
Thanks.
Herb
Hi,
I would like to use an alert or console.log to show me values that I am testing.
These don't seem to be supported in Lianja.
Is there a different function I could use to output a value?
Thanks.
Herb
The Lianja system object is available in all scripting languages.
Code:Lianja.writeOutput("hello world"); Lianja.writeLog("hello again"); Lianja.execute("some vfp command"); result = Lianja.evaluate("some VFP expression");
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Hi Barry,
How would I send a notification to the user in a custom javascript section?
Is there a Lianja equivalent to alert()?
Thanks.
Herb
Lianja.showNotification("message" , nTimeout)
or
Lianja.showMessage("message")
message can be formatted in HTML.
nTimeout should be 0 to accept default.
Last edited by barrymavin; 2013-07-31 at 21:14.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Perfect - Thank you!
Hi Herb,
Just a heads up. I'm using console.log('text') myself. When using console.log() you need to right click on the WebView and look in the "Console" tab of the web inspector. You can type commands in interactively there too.
See below.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Bookmarks