Profile

Laleh Tajrobehkar

Contact Details

My Content

1 to 2 of 2 total
Posted By Laleh Tajrobehkar 11-11-2019 17:43
Found In Egroup: Facility Control
\ view thread
You need to do an asyncPost feeding the URL of the file on your file system and then just feed the result to JSON.parse. An example of the script can be found in the following grid. function callback(resultStr) ( if (resultStr != null) ...
Posted By Laleh Tajrobehkar 11-04-2019 16:06
Found In Egroup: Facility Control
\ view thread
To change the color of a button, you need to set its style. Let's assume feedback you get from the Arduino is a string, you can then set the style of your button (e.g. coloredButton) based on the string value to color red like this: ogscript.setStyle('coloredButton', 'bg#ff0000'); The following ...