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 |
Does laravel use mvc?
What is the latest version of laravel?
Tell me how to install laravel?
what is implementation measures in CSRF Protection ?
Explain me active record implementation?
Explain validations in laravel?
What is oauth2 in laravel?
What is factory in laravel?
What is localization?
Explain how to enable multiple php versions in homestead?
How to enable query log in laravel?
What are the Severity Levels in Laravel ?