IntroductionPHPAJAX is a framework to speed up the developing of ajax with php. Also you don't need to know javascript. This wiki file will show some basic examples, explaining step by step what is happending. DetailsFor use PHPAJAX you need to think in class, know what to read, and what and where to show the result. You need to inherit the class phpajax and override some methods: - Main (mandatory): Here you need to write the main of you ajax applications. Only output funcion could be used here.
- Loading (optional): Here you define what to-do while tbe ajax request is processing.
- input (optional): Here you define what information from client should be send to the server. Here only input functions could be used.
Input Functions- aread ( string htmlobject ): This functions tells that the information of htmlobject (which is its id) must be sent in the ajax request. The htmlobject also can be an FILE input field, in this case, the file will be uploaded to PHP. Read How upload files with PHP AJAX for more information.
Output Functions- aprint ( string htmlobject, string text[, boolean override=true] ): Prints text into htmlobject, the previous content of htmlobject is delete if override is equal to true.
- ashow ( string htmlobject ): Turn on the visibility of an htmlobject
- ahide ( string htmlobject ): Turn off the visibility of an htmlobject
|
hi this is vimal
MOO
Hi, The framework does not work with IE7. Why, oh, Why?