Anaa is a the acronym for "An Ajax API".
It is a complete Ajax library written in JavaScript with functions to load and save data from and to the server. The Anaa's code is easy to understand and to extend. It may work with PHP or other backends.
Loads the content of a HTML page into a variable or a tag in the currently displayed page. This allows to access the data of the other page by the methods of the Document Object Model.
Before to call the function, you have to declare a variable or create a tag to store the content. The function calls a user-defined function passed as argument, that processes the body of the HTML page loaded. The param argument may be the id of a div where to store the extracted data.