I would like to call a controller function and after that I would like to update my view with an ajax call.
Therefore I call my controller function from an ajax script using this url:
url: "index.php?option=com_mycomponent&task=component.save"
Everything seems fine, but I cannot access my form inputs in the controller.
$jinput = JFactory::getApplication()->input; $data = $jinput->get('jform', 'default_value', 'filter'); $data stays empty.
When I call the function from a normal Joomla button in the form, everything is fine and all values from the form are available in the controller.
I would like to call my controller function and afterward I would like to update my view with an ajax call.