This simple library containing some methods of Ajax.
Example about addContent(url, target):
With this function you can change the content of the someone DIV tag.
<?php echo "Simple Ajax Library Example!"; ?>
When you click on "Change" then the content of the div tag named "content" will change to what you have written in the file (In this example, test.php -> Simple Ajax Library Example!).
The functions getResults(str, url, target) and suggest(str, url, target) are Ajax methods with more arguments.
str = input string
url = The url or resource file
target = id name of div tag where you want to display the results
This library is nothing special, but can be very useful and saves much time.
The library is tested only with PHP.
Every remark are welcome and if you have any idea of upgrading / changing this library you can do it.
Edited by Krstevski: n/a