Answer Posted / sunil kumar
Ajax (Asynchronous JavaScript and XML) is a set of web development techniques utilizing many web technologies used on the client-side to create asynchronous Web applications.
Import jquery library in your view file to use ajax functions of jquery which will be used to send and receive data using ajax from the server.
On the server side you can use the response() function to send response to client and to send response in JSON format you can chain the response function with json() function.
json() function syntax : json(string|array $data = array(), int $status = 200, array $headers = array(), int $options)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is system requirement for installation of laravel 5.2 (latest version)?
Name the first file that loaded in laravel?
How to upgrade valet to valet 2.0?
What is faker in laravel?
Where laravel’s facades are defined?
How to clear complete cache in laravel?
What is the default session timeout duration?
What is php artisan in laravel?
What route model binding?
List default packages of laravel 5.6?
What is response in laravel?
What is mvc framework?
Tell me does laravel support php 7?
How to check if value is sent in request?
Explain loggin in laravel.