MY CART (5)

Use Coupon: CART20 and get 20% off on all online Study Material

ITEM
DETAILS
MRP
DISCOUNT
FINAL PRICE
Total Price: R

There are no items in this cart.
Continue Shopping
Menu
Swati Kharodia Grade: Upto college level
        

What is Ajax and why it is used widely?

8 years ago

Answers : (2)

Ravi Sharma
29 Points
										

AJAX Uses HTTP Requests


In traditional JavaScript coding, if you want to get any information from a database or a file on the server, or send user information to a server, you will have to make an HTML form and GET or POST data to the server. The user will have to click the "Submit" button to send/get the information, wait for the server to respond, then a new page will load with the results.


Because the server returns a new page each time the user submits input, traditional web applications can run slowly and tend to be less user-friendly.


With AJAX, your JavaScript communicates directly with the server, through the JavaScript XMLHttpRequest object


With an HTTP request, a web page can make a request to, and get a response from a web server - without reloading the page. The user will stay on the same page, and he or she will not notice that scripts request pages, or send data to a server in the background.


The XMLHttpRequest Object


By using the XMLHttpRequest object, a web developer can update a page with data from the server after the page has loaded!


AJAX was made popular in 2005 by Google (with Google Suggest).


Google Suggest is using the XMLHttpRequest object to create a very dynamic web interface: When you start typing in Google's search box, a JavaScript sends the letters off to a server and the server returns a list of suggestions.


The XMLHttpRequest object is supported in Internet Explorer 5.0+, Safari 1.2, Mozilla 1.0 / Firefox, Opera 8+, and Netscape 7.

8 years ago
Himanshu Vijay
8 Points
										

AJAX = Asynchronous JavaScript and XML


AJAX stands for Asynchronous JavaScript And XML.


AJAX is a type of programming made popular in 2005 by Google (with Google Suggest).


AJAX is not a new programming language, but a new way to use existing standards.


With AJAX you can create better, faster, and more user-friendly web applications.


AJAX is based on JavaScript and HTTP requests.


AJAX is not a new programming language, but a technique for creating better, faster, and more interactive web applications.


With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page.


AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.


The AJAX technique makes Internet applications smaller, faster and more user-friendly.


 AJAX is a browser technology independent of web server software.


AJAX is Based on Web Standards


AJAX is based on the following web standards:


1. JavaScript

2. XML

3. HTML

4 .CSS

The web standards used in AJAX are well defined, and supported by all major browsers. AJAX applications are browser and platform independent.

8 years ago
Think You Can Provide A Better Answer ?
Answer & Earn Cool Goodies
  • Complete AIPMT/AIIMS Course and Test Series
  • OFFERED PRICE: R 15,000
  • View Details
  • Complete JEE Main/Advanced Course and Test Series
  • OFFERED PRICE: R 15,000
  • View Details

Ask Experts

Have any Question? Ask Experts

Post Question

 
 
Answer ‘n’ Earn
Attractive Gift
Vouchers
To Win!!! Click Here for details