What is meant by Laravel - Ajax ?



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

Post New Answer

More Laravel PHP Framework Interview Questions

List out the plateforms laravel homestead supports?

0 Answers  


How to remove /public from url in laravel?

0 Answers  


What are the databases laravel supports?

0 Answers  


What are the advanced features of laravel 6.0?

0 Answers  


What is homestead in laravel?

0 Answers  






What is laravel horizon?

0 Answers  


How do I make my application serve its content in different languages?

0 Answers  


What is valet used in laravel 5?

0 Answers  


What is the use of blade?

0 Answers  


How to generate application key in laravel?

0 Answers  


Do you know laravel service container?

0 Answers  


Name aggregates methods of query builder.

0 Answers  


Categories