Apuntes
AJAX Basics
Contenido del apunte (1)
Página 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
Información
- Descripción
- This topic covers the basic of AJAX.
- Creado por
- Mohit Kakkar · jul 2017
- Actualizado
- 19 jul 2017
- Visitas
- 56
- Etiquetas
- Valoración