GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  AJAX
Go To First  |  Previous Question  |  Next Question 
 AJAX  |  Question 4 of 9    Print  
How to call a JavaScript function from the Ajax code?

  
Total Answers and Comments: 1 Last Update: October 08, 2007     Asked by: thoby 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 08, 2007 04:27:35   #1  
vasu        

RE: How to call a JavaScript function from the Ajax co...

Ajax itself is javascript which uses XMLHttpRequest object which takes action event parameters into method call open().AJAX Stands for Asynchronous Java script and XML where in there is no order in which to requests and responses are tracked.

XMLHttpRequest.open() which takes action events as URL Parameters.

XMLHttpRequest.send() which sends the Request object asynchronously or synchronously depending on whether the option for synchronous is true or false.

Remember that there is no particular order in which to receive the requests. That is the basic of Asynchronous communication.


 
Is this answer useful? Yes | No

 Related Questions

If i have to Automate an application developed in AJAX which tool (QTP,WinRunner)would be more useful. Does Load runner has a protocol to support AJAX?
Read Answers (6) | Asked by : Anand Indoori

Latest Answer : One thing i have forgotten to write that Due to some web standard we may call it as Browser dependant like if we will use JSON then it is not supported by all browser . so when we are using Ajax we have see the webstandard we used for it..But except ...

I don't know how to start with, which tools are required to create a Ajax application and Which tool we need to run the Application created in Ajax 
Latest Answer : The best place to start with Ajax is "Ajax For Dummies".  Learn the concepts first and then u can start using JavaScript libraries like PROTOTYPE OR SCRIPTACULOUS..ALL THE BEST. ...

Latest Answer : Ajax itself is javascript which uses XMLHttpRequest object which takes action event parameters into method call open().AJAX Stands for Asynchronous Java script and XML where in there is no order in which to requests and responses are tracked.XMLHttpRequest.open() ...
Read Answers (1) | Asked by : thoby

Latest Answer : 1. The call to open() is the HTTP request method – GET, POST, HEAD or any other method you want to use and that is supported by your server.2. The send() method can be any data you want to send to the server if POST-ing the request.Ex: httpRequest.open('GET', ...
Read Answers (1) | Asked by : ashokkumar


 Sponsored Links

 
Related Articles

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php" document ready function var highlighted
 

jQuery Interacting with Other Code

jQuery Interacting with Other Code We learned with our sorting and paging code that we can t treat the various features we write as islands The behaviors we build can interact in sometimes surprising ways; for this reason it is worth revisiting our earlier efforts to examine how they coexist with t
 

jQuery Completed sorting and paging code

Learning jQuery The Finished Code The completed sorting and paging code in its entirety follows mosgoogle geshibot lang php" fn alternateRowColors function tbody tr odd this removeClass even addClass odd ; tbody tr even this removeClass odd addClass even ; return this; ; document
 

jQuery - JavaScript Pagination

Learning jQuery JavaScript Pagination Let s examine how we would add JavaScript pagination to the table we have already made sortable in the browser First we ll focus on displaying a particular page of data disregarding user interaction for now mosgoogle geshibot lang php" document ready
 

jQuery - JavaScript Sorting

Learning jQuery JavaScript Sorting There are times though when we either don t want to wait for server responses when sorting or don t have a server side scripting language available to us A viable alternative in this case is to perform the sorting entirely on the browser using JavaScript client sid
 

code

geshibot lang javascript" head This is a JS snippet from Geshi Bot" Replaces the geshi default classes with mambo joomla classes function replaceGeshiWithMamboClasses if document document getElementsByTagName Category
 

Microsoft AJAX Library - Introducing JSON

Introducing JSON In AJAX applications client server communication is usually packed in XML documents or in the JSON JavaScript Object Notation format Interestingly enough JSON s popularity increased together with the AJAX phenomenon although the AJAX acronym includes XML mosgoogle JSON is the format
 

Microsoft AJAX Library - Inheritance using Prototypes

Inheritance using Prototypes Once again prototyping can help us implement an OOP feature in a more elegant way than when using closures Prototype based inheritance makes use of the behavior of JavaScript prototypes When accessing a member of a function that member will be looked for in the function
 

Microsoft AJAX Library - Inheritance using Closures

Inheritance using Closures and Prototypes There are two significant techniques for implementing the OOP concept of inheritance with JavaScript code The first technique uses closures and the other technique makes use of a feature of the language named prototyping Early implementations of the Microsof
 

Microsoft AJAX Library - JavaScript Execution Context

JavaScript Execution Context In this section we ll take a peek under the hood of the JavaScript closures and the mechanisms that allow us to create classes objects and object members in JavaScript For most cases understanding these mechanisms isn t absolutely necessary for writing JavaScript code&am
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape