+ 1

Can anyone tell me the working and Use of AJAX ??

Query

2nd Mar 2017, 4:54 PM
Divyashakti tripathi
Divyashakti tripathi - avatar
2 Answers
+ 8
Ajax (abbreviation for Asynchronous JavaScript and XML) is a technique that helps web developers to update the content of a webpage without reloading it. It was first used(and developed) by Google for Gmail so that the inbox can be updated without reloading the webpage. Another example can be of www.codepen.io where the code gets implemented without reloading the webpage
2nd Mar 2017, 5:29 PM
Chirag Bhansali
Chirag Bhansali - avatar
+ 6
Basically this works this way: You send an Http request with JS, as your browser do for requesting a web page load, but on server side, you provide a non-html data response, received on client side through JS, without loading a new html document... For doing so, JS provide an 'XMLHttpRequest' object, and can handle XML as root data format exchange, and plain text: usually, JSON ( another common textual data format based on JS notation and widely handled in languages ecosystem ) is a lot used, rather than first targeted XML, even if both are prevalent ^^
3rd Mar 2017, 10:03 AM
visph
visph - avatar