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

How to register a service provider in laravel?

0 Answers  


How to write html code in laravel controller?

0 Answers  


How to know laravel version?

1 Answers  


What is escape string?

0 Answers  


How to use select query in laravel?

0 Answers  






What are policies classes?

0 Answers  


What are all the different Route Parameters ?

0 Answers  


What are the steps Redirecting to Named Routes in Laravel ?

1 Answers  


What are the difference between insert() and insertgetid() in laravel?

0 Answers  


What is vagrantfile and homestead.yaml?

0 Answers  


What are service providers in laravel?

0 Answers  


What are facades?

0 Answers  


Categories