Hello,
I found this in description of sfJqueryReloadedPlugin functions

 * To access the server response, use 'request.responseText', to
 * find out the HTTP status, use 'request.status'.
 *
 * If you are using JSON, you can access it via the 'data' parameter

But I think there is a bug in sfJqueryReloadedPlugin because 'data'
parameter works only for "success" callback.

I tried something like that and it semms to be working:

<?php echo jq_submit_to_remote('plus', '+', array(
     'url'      => 'reklamy/add?a=plus',
     'dataType' => 'json',
     'success'  => "updateJSON(data)"
 ), array('class' => 'link')) ?>

Wojtek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to