to do ajax you need use the http library from ape

var request = new Http('http://www.domain.com/ajax.php');
request.set('method', 'POST');
request.writeData('action', 'connected');
request.getContent(function (result) {
log(result);
});

cheers

El viernes, 13 de julio de 2012 15:13:49 UTC-3, luc2 escribió:
>
> hi,
>
> on server-side :
>
> include( "jquery-1.7.2.min.js" );
>>
>> jQuery.ajax(
>>   {
>>     type: "GET",
>>     url: "_page.php",
>>     success: function( json )
>>     {
>>     }
>>   });
>>
>>
> ReferenceError: jQuery is not defined
>
> include( "mootools-core-1.4.5-full-nocompat-yc.js" );
>> var jsonReq = new Request.JSON({
>>   url: '_page.php',
>>   method: 'get',
>>   onComplete: function(response){
>>   }});
>>
>>
> ReferenceError: Request is not defined
>
> question : is it possible to use jquery or mootools on server-side ?
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-project@googlegroups.com
To unsubscribe from this group, send email to
ape-project+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to