I’m trying to use a simple ajax link:
jq_link_to_remote('Click me!', array( 'update' => 'myDiv',
'url' => 'module/action?id='.$user->getId(),
'method' => 'post' ));
The action is really simple:
public function executeAction(sfWebRequest $request)
{
return $this->renderText('test');
}
When I press the link nothing happens. If I change the ‘method’ to ‘get’ it works as expected – How can that be?
I added
to the module/action route and it works now 🙂
thanks for the help Tom!