Samir
Basics
2 Answer(s)      5 years and 3 months ago
Posted in : Ajax

How Ajax works?

View Answers

February 23, 2008 at 6:14 PM


How Ajax works?
Find out how Ajax works and how a developer can use it for developing web applications. Ajax is not a language of its own and you need to know HTML and Java Script if you are working on it.
Using Ajax you can show all the incoming data in the same frame and reload it. Google talk is a best example of it.

Ajax is a latest technology of java and can be used in almost all type of web applications.

So if you are planning to use Ajax for your web application, you are going right way

Here you can learn AJAX with Examples Codes?

Ajax Tutorial - http://www.roseindia.net/ajax/


See how can one create an object for firefox ?
var xmlhttp=new XMLHttpRequest;
And gain create an object for IE:
xmlhttp=new ActiveXObject(?Microsoft.XMLHTTP?);
Simple Ajax Example Code
function getnamedata(){
xmlhttp.open(?POST?,?file.php?);
xmlhttp.onreadystatechange=handler;
xmlhttp.send(?name=random&id=42″);
}
function handler(){
if(xmlhttp.readyState==4)
{
alert(?Name Info: ?+xmlhttp.responseText;
xmlhttp.close;
}}

December 4, 2011 at 8:09 PM


Hi Friend,

You can find your Simple Ajax Application here. This example written by using JSP and Java Script.

Simple Ajax Application using JSP and Java Script.

All the best.









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.