>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Implementing simple AJAX interaction in your Web Application using XMLHttpRequest object - object author ajax xmlhttprequest page data function javascript

 
Registered tutorials: 501
Registered Users: 29845



Rating: 3.62 out of 34 votes cast


  
Category: Ajax and Java

Implementing simple AJAX interaction in your Web Application using XMLHttpRequest object

Digg this   Post to del.icio.us

Abstract: This example will give you an idea about how you can implement simple AJAX interaction in your web application.

Purpose of using AJAX

The main purpose of using AJAX is to asynchronously get the information from the server and update only that area of the web page where this information fetched needs to be displayed, avoiding refresh of the entire page. The other advantage of this is, the web page can hold minimal required data and retrieve rest as needed based of events.

How is all this possible.

Its possible by writing a JavaScript code in your web application, which uses XMLHttpRequest object to communicate with the server and get the data asynchronously.

Following figure shows the interaction.




Read Full Tutorial...



Reviews:

Rate and Review This Site

No reviews yet


Statistic Information About this Resource:


Total Hits: 8781
Unique Hits: 6909


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 19.7 25.8 111 151.8 307.7 407.8
Current 16 21 41 53 277 363
Previous 25 32 148 197 552 755
Oct 12 14 19 129 168 388 544
Oct 11 11 13 149 201 424 558
Oct 10 21 31 132 193 241 314
Oct 9 27 35 118 159 0 0
Oct 8 20 28 112 147 515 673
Oct 7 22 30 112 164 256 324
Oct 6 33 41 96 126 424 547
Oct 5 8 8 73 110 0 0
Highest 33 48 149 201 552 755


Script Execution Time: 0.45938 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2