Hello everyone, I am reading the Symfony Book on the Web, specifically
Chapter 11. "Ajax Integration", and I am trying to implement some of
the examples. I am trying to use the helper remote_function(), I had
created a module "main" with two actions, "index" and "greet" at
indexSuccess.php I wrote the following:

<?php use_helper('Javascript') ?>
<div id="greet"></div>
<?php echo javascript_tag(
  remote_function(array(
    'update'  => 'greet',
    'url'     => 'main/greet',
  ))
) ?>

and at greetSuccess.php:

<?php echo "Hello, I am Ajax!"?>

When I execute: http://localhost/easyajax/web/main

nothing happend, Am I doing something wrong?

Thanks...

--~--~---------~--~----~------------~-------~--~----~
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