Support the ongoing development of Laravel.io →
Requests Blade
Last updated 2 years ago.
0

Jream has some excellent tutorials on Youtube covering jquery Aja,x you should review them before doing anything else.

0

I use Ajax with Laravel it Works Superb :)

Your Routes only Accepts GET not POST data where you're currenlty sending POST data.

Change this

Route::get('ean', function() { return view('pages.hotels.ean'); });

to

Route::post('ean', function() { return view('pages.hotels.ean'); });

Last updated 9 years ago.
0

beanmoss said:

If you know how to use ajax in html/php, there's no difference when using it on laravel. Good thing is you can use Laravel's route() helper so the url on your ajax will get the correct path.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ottz0 ottz0 Joined 15 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.