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 encryption does laravel use?
Why laravel is the best framework?
What is fluent query builder in laravel?
Explain how to bind a service container to a service provide?
Tell me how to implement you own package in laravel?
What is the laravel framework?
Do you know what is laravel elixir?
What are cookies? How to get, set, distroy cookies in laravel?
What is meant by Attaching Headers ?
How to use stored procedures in laravel?
What is a facade?
Tell us can laravel be hacked?