AJAX | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5


what is ajax? I heard that it is somehow related to the java script. just do not understand why it is needed?

8th Jul 2018, 6:07 AM
Sergo 93
Sergo 93 - avatar
5 Answers
+ 8
Hello, Sergo 93 ! AJAX, Ajax - an approach to building interactive user interfaces for web applications, which consists in the "background" exchange of browser data with a web server. As a result, when you update the data, the web page does not completely restart, and web applications become faster and more convenient. https://www.sololearn.com/Course/JavaScript/?ref=app
8th Jul 2018, 6:13 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 4
AJAX allows you to send and receive data without refreshing the page. For example, if you wanted to get data from a PHP form. normally, you'd need to redirect the user to the page which would require a refresh. With AJAX, you can do this all in the background. The user wouldn't even notice.
8th Jul 2018, 6:12 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
Thanks all!
8th Jul 2018, 6:17 AM
Sergo 93
Sergo 93 - avatar
+ 2
Ankit Jaiswal You don't need CSS or XML. CSS is definitely helpful, but XML isn't needed. You can use JSON which would work better since it's native to JS.
8th Jul 2018, 11:08 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
AJAX stands for Asynchronous JavaScript and XML. it uses JavaScript and Extensible Markup Language (XML) to make website more attractive and reliable. It is specially used to exchange data with a server, and update parts of a web page with reloading the whole page. By using AJAX, we can create better, faster, to use a web applications. What You need to know JavaScript, HTML, CSS (not mandatory), and some XML to use AJAX. hope I gives a pure Definition and Usage of AJAX :)
8th Jul 2018, 11:06 AM
Ankit - avatar