Running UDT with Javascript
Posted: Fri May 12, 2023 9:15 pm
Hi all,
I have a CGBF booking form that queries the database for remaining spaces which is stored in a LISE item. I am able to get the value when loading the page but I need to intermittently query the database(every 1 minute) for the remaining spaces to avoid overbooking. I have a UDT that returns a value from the database which is then displayed on the page. After the page is loaded, is there any way to intermittently run the UDT using Javascript/AJAX?
Any help is appreciated.
Thanks in advance,
James
I have a CGBF booking form that queries the database for remaining spaces which is stored in a LISE item. I am able to get the value when loading the page but I need to intermittently query the database(every 1 minute) for the remaining spaces to avoid overbooking. I have a UDT that returns a value from the database which is then displayed on the page. After the page is loaded, is there any way to intermittently run the UDT using Javascript/AJAX?
Any help is appreciated.
Thanks in advance,
James