Page 1 of 1

how can I refresh a display object ?

Posted: Mon Apr 27, 2020 11:49 am
by marc
Can we refresh a Display Object? Maybe with a JavaScript function refreshdisplay('displayobj'); ?

Re: how can I refresh a display object ?

Posted: Thu Apr 30, 2020 6:07 am
by kev1n
I'm afraid there's no such function as far as I know.
You will have to run a PHP function that runs the SQL and returns a value which then can be assigned to your display object.

Re: how can I refresh a display object ?

Posted: Tue May 05, 2020 3:42 pm
by marc
Do you have an example maybe on how to do this?

Re: how can I refresh a display object ?

Posted: Wed May 06, 2020 5:54 pm
by kev1n
You'll find an example in my Code Library:

https://github.com/smalos/nuBuilder4-Co ... ct_refresh

Re: how can I refresh a display object ?

Posted: Thu May 07, 2020 6:56 am
by marc
@kev1n: Will check it out next week and let you know if I have any questions.