Using Ajax in your HTML/OS documents has never been easier.
There are 2 major libraries you can choose from. You can use the Clear Image Library or now Aestiva has introduced their own implemntation of AJAX.
Visit the Aestiva Documentation Page or visit Clear JS to learn how to get going with AJAX.
This is a third party AJAX library that will allow you to do AJAX on your pages.
AJAX Cooked Right Into HTML/OS
The HTML/OS environment supports AJAX, a form of browser-server communication that does not require web pages to redisplay. Using AJAX is relatively straightforward. Only a few HTML/OS tags are needed.
Use the AJAX built into HTML/OS in one of the following two ways.
When a form in HTML/OS has an action equal to AJAX it tells HTML/OS to send its data to the onclick Overlay called AJAX (without redisplaying the page) when form elements change or they are clicked. Each time data is sent HTMLOS.CLICKED is set to the name of the form element changed or clicked. In the Overlay AJAX you can run code and then pass variables back to the page using the AJAXRETURN tag. If you want to exclude elements of a form from submitting data when changed, place the tag NOAJAX inside the corresponding HTML input.
The technique above also works with hypertext links too. To have a link send data to HTML/OS without redisplaying the page, set the destination of the HREF to AJAX. For example: Update Me. When the link is clicked, HTMLOS.CLICKED is set to "abc" and the Overlay AJAX is run. The page is not redisplayed. Here too, you use the AJAXRETURN tag instead of a GOTO at the end of your HTML/OS code.
AJAXRETURN has three parameters allowing you to pass three kinds of information back to the browser. The first parameter is a list of variables names. When specified, the form elements will be updated accordingly. The second parameter contains HTML you wish to place in the web page. The parameter is a 2 column table. In each row, column 1 must be the id of a