I have a simple ajaxLink to a controller. It works without the params, but when I add a param I get an error: Warning: Missing argument 1 for Ez_ContactsController::testyAction()
The params are required and I see them in the jquery that ZF creates. here is the JS that gets generated (/ez is my module): $(document).ready(function() { $('a.ajaxLink1').click(function() { $.post('/ez/contacts/testy', {"param1":"1","param2":"456"}, function(data, textStatus) { $('#testy').html(data); }, 'html');return false; }); });
Here is my ajaxLink:
ajaxLink("Example 2", "/ez/contacts/testy", array('update' => '#testy', 'class' => 'someLink'), array('param1' => '1', 'param2' => '456')); ?>
Thanks for any help