In very short, the functionality you need are:
- Post data to the server - triggered by an event (on click, on mouseover, etc..)
The data you post to the server can be data in html input fields of a specified html element (form, div, etc..), or even javascript variables. - Receive and display a result
The result needs to be automatically loaded in the specified html element (div, td, etc..).
The result can also be given to a Javascript function to handle the received data.
How to use