Notizen
AJAX Basics
Inhalt der Notizen (1)
Seite 1
AJAX stands for Asynchronous Javascript and XML.
1. The motive of Ajax:
-> Requesting data from server without reloading the page
-> Sending data to server without reloading the page
-> Used to make callbacks, making round trip to and from the server to retrieve or send data
-> Asynchronous calls to web server, this allows client browser to avoid waiting for all data to arrive before allowing user to act once more
2. Arguments required by AJAX:
-> 1st argument is always the URL, which will provide the required data
-> Then there are multiple optional arguments
->There are 3 main params used in making an AJAX request:
-> URL
->method: GET/POST
->data: data required by the URL to fetch the dynamic result. Example: We've to attach the email to the URL order to fetch the results regarding that URL only.
3. AJAX result:
-> AJAX response will come in success label
-> Then we can perform different operation the response received
Informationen
- Beschreibung
- This topic covers the basic of AJAX.
- Erstellt von
- Mohit Kakkar · Jul 2017
- Aktualisiert
- 19 Jul 2017
- Aufrufe
- 56
- Tags
- Bewertung