i downloaded and installed symfony version 1.1. Then in my project i created a link_to_remote function which was calling on 'complete' a javascript function named editJSON. According to documentation v1.1, chapter 11, JSON paragraph, the right syntax was:
echo link_to_remote('[Edituj]', array(
'url' => 'products/editItem',
'complete' => 'editJSON(ajax)',
'script' => true,
)));
-notice row 'complete' => 'editJSON(ajax)',
well i do not know if i am doing something wrong but this syntax DO NOT work for me. But syntax from documentation ver 1.0 worked for me :
'complete' => 'editJSON(request, JSON)',
so if im right, then in symfony documentation, chapter 11 in paragraph about JSON are wrong examples of json remotete function use and json javascript function.
(sory for bad english)