Simple Ajax 2
This example is an improved version of the Simple Ajax example. It simulates an order system. The user enters the article code, the system searches for product name (and price, etc) as soon the user leaves the field.
Each entered article code is sent to 4D, 4D answers with the same value plus a time stamp.
In difference to the first Ajax example it sends the request as POST request, so the browser does not use it's cache. You can test it by using the same article number again - at a later time. In the first example you might have noticed that you get an old time - from the browser cache. Now you will notice that it is always the current time - new data.