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

Go on YouTube and look at the tutorials on jQuery AJAX by jream.

0

For jQuery's ajax, please refer to this documentation for more detail.

http://api.jquery.com/jquery.ajax/

success
Type: Function( Anything data, String textStatus, jqXHR jqXHR )

Basically, add an argument to success will get you the response.

success: function(data)   {
   // Your data is arrived. 
}
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?

rtechshow rtechshow Joined 30 Mar 2015

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.