Flag this interview question as inappropriate Inappropriate
See Answer
In order to handle the request concurrently, its always better to achive through writing the separate function. For e.g.
xmlHTTPObj.Onreadystatechange = function1();
The above line of code will help us to do asynchronous processing. So function1() will be called when the XMLHTTP request object goes to on ready state change.
Dont forget to set the parameter "TRUE" in the Open method of xmlHTTPObj. The followign e.g. shows this.
xmlHTTPObj.open("GET","http://"+location.host + "XMLHTTPExample1/Webform1.aspx" true)
"true" reperesents the processing carried after the send() method, without waiting for a response. "false" means that processing waits for the response before continuing.
Create Date
:
Tuesday, March 18, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
if it is required the updation in data base should be display instanctly to the user every time then  ajax is  better to use ,otherwise it is not required.
Create Date
:
Tuesday, March 18, 2008
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

Ajax is primarily a client/server technology. Client nodes in the web do not typically run web servers that can respond to HTTP GET and POST requests. Since clients cannot directly communicate with each other, any distributed application developed usingAjax would require a central web server system to negotiate requests between clients. Client A could generate events/data for and respond to events/data from Client B however both would need to connect to a common web server to facilitate the communication.
Another limitation of Ajax is slow or unreliable network connections. Traditional web applications that require a full round-trip to the server may behave slowly for end users but they would be predictable. End users would generally intuitively know they have performed an action, such as submitting a form or clicking a link, and must wait for a server to respond. With Ajax, users  have less intuition about which type of events within a page may result in a need to wait for a server response. Instead of enhancing the end user experience, Ajax over slow or unreliable network connections may reduce usability if not carefully designed to accommodate both fast and slow network characteristics.

Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
The Dojo toolkit is a modular open source JavaScript toolkit (or library), designed to ease the rapid development of JavaScript- or Ajax-based applications and web sites.
DOJO is the one of the Client-side Framework.
Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
AJAX polling script that uses Ajax to send vote to the server and receives vote results from the server.
Ajax is used to return the results from this poll to your browser.
Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
there are 5 readyStates --
0 = uninitialized
1 = loading
2 = loaded
3 = interactive
4 = complete
Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

AJAX helps in refreshing / requerying parts of web page without reloading the entrie webpage there by increasing performance and ultimately user interface

Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

Internet Explorer uses an ActiveXObject, while other browsers uses the built-in JavaScript object called XMLHttpRequest.
code:

<html> <body>
<script type="text/javascript">
function ajaxFunction() {
var xmlHttp; try {
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
} catch (e) {
// Internet Explorer
try {
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
alert("Your browser does not support AJAX!");
return false;
}
}
}
}
</script>
Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer
Infragistics,NetAdvantage and Ajax Control ToolKit from microsoft.
Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

JSON is the JavaScript Object Notation, and it is a lightweight data interchange format. It provides Java Scripts eval() method to easily parse an XML.

Create Date
:
Tuesday, March 18, 2008
Tags
:
Asked At
:
None
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 


Check out our newest job listings!

Post a Job! $49 for 60 days



Suggestions & Comments




User Question Statistics
Questions Asked (36)
Questions Updated (0)
Questions Answered (28)
Answers Updated (0)
Share Your Interview Questions
Ask Interview Questions
View Unanswered Questions

















Advertise on this site