What is use of ajax and how to write ajax code? | Sololearn: Learn to code for FREE!

+5

What is use of ajax and how to write ajax code?

Ajax

3/29/2019 3:44:18 PM

Pushpendra Mangroliya

5 Answers

New Answer

+7

//Ajax is used to send and retrieve data from a server asynchronously (in the background) without interfering with the display and behavior of the existing page in web application

+2

Ajax is a JavaScript library that is used for asynchronous data flow from server to client side. The only thing you need to do is import the JavaScript file of ajax and write your code after that tag. It will help you fetch and save data into database without reloading the page.

+1

ajax can be used to deal with data real time without page refresh. Ajax is mostly used with jQuery. Typical ajax code structure will be like this.. https://code.sololearn.com/WLmLwPTm6n4B/?ref=app

0

the feeling