// Check that a successful server response was received
// If the request's status is "complete"
getReadyStateHandler: function(req, returnFunction, buildObjectFunction) {
req = new ActiveXObject("Microsoft.XMLHTTP");
req = new ActiveXObject("Msxml2.XMLHTTP");
}else if(window.ActiveXObject){
getXmlRequestObject: function() {
this.submitUserFormNoAJAX(form, action, servlet);
req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
req.open("POST", servlet, true);
req.onreadystatechange = handlerFunction;
var handlerFunction = this.getReadyStateHandler(req, returnFunction, buildObjectFunction);
var req = this.getXmlRequestObject();
queryString += "&action=" + action + "&isAjax=Y";
var queryString = this.serializeForm(form);
if(isAjax == true && returnFunction != null){
returnFunction, action, servlet,
interactWithServer: function(form, isAjax, buildObjectFunction,
//Objects to interact with server
Cops: Man steals 4 TVs from one Walmart in 5 days
Комментариев нет:
Отправить комментарий