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 can I do with laravel?
What is the role of service provider?
What is meant by Laravel - Localization ?
What is isset function?
Can I use react with laravel?
what is Basic Routing ?
How much laravel experience do you have?
How to enable query log in laravel?
When laravel was launched?
What do you understand by lumen?
Tell me what is database migration? And how to use it to add insert initial data to database?
How to use update query in laravel?
What does csrf token in laravel 5?
Explain how to install valet?
Which is better django or laravel?