What is meant by Laravel - Ajax ?
Answer / 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 |
What do you understand by unit testing?
What is report method?
How to configure network interfaces in homestead?
How do I test sending emails without actually sending emails to real addresses?
How to install valet?
Explain how to configure cron jobs in homestead?
What is php artisan serve in laravel?
Explain how to add csrf protection in laravel?
Explain how to retrive all requested data in laravel?
Do you know laravel eloquent?
What is a Terminable Middleware ?
Does laravel passport use jwt?