We are using Laravel, we have a form post on the "/",
$router->get('/', 'AppController@show');
The form is a script that appear through a modal window, once we post the form it uses route:
$router->post('/', 'AppController@store');
and function
public function store()
{
return view('app');
}
How we can stay on page without any return action after the post ?
With the current method it reloads the "/" page,
Are there a way to keep the "/" page as it is without reloading after the submit button?
Apologise for my english, i hope you understand our issue.
Thanks in advance,