CodesJava

Easy learning with example program codes

How ajax works?


Ajax refers to asynchronous java script and xml. It is not a not a programming language. Ajax is of Asynchronous type. It normally uses XML, plain text or JSON to communicate with server i.e. for data transfer.

Note: Ajax is technology independent.
how ajax works codesjava

How ajax works?

  1. An event occurs in a web page like click a button.
  2. JavaScript creates an XMLHttpRequest object.
  3. The XMLHttpRequest object sends a request to a web server.
  4. The server processes the request.
  5. The server sends a response back to the web page.
  6. JavaScript reads the response.
  7. JavaScript updates the page content.
Posted in Ajax   
Sign Up/ Sign In
Ask a Question


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at hr@codesjava.com.

Development

We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on hr@codesjava.com.

Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki