Subversion Repositories DevTools

Rev

Rev 25 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25 Rev 29
Line 65... Line 65...
65
function xmlHttp_Get(xmlhttp, url) {
65
function xmlHttp_Get(xmlhttp, url) {
66
    xmlhttp.open('GET', url, true);
66
    xmlhttp.open('GET', url, true);
67
    xmlhttp.send(null);
67
    xmlhttp.send(null);
68
}
68
}
69
 
69
 
-
 
70
// XMLHttp send GET request but wait for return;
-
 
71
function xmlHttp_Get_Synch(xmlhttp, url) {
-
 
72
    xmlhttp.open('GET', url, false);
-
 
73
    xmlhttp.send(null);
-
 
74
}
-
 
75
 
70
function GetXmlHttpObject(handler) {
76
function GetXmlHttpObject(handler) {
71
    var objXmlHttp = null;    //Holds the local xmlHTTP object instance
77
    var objXmlHttp = null;    //Holds the local xmlHTTP object instance
72
 
78
 
73
    //Depending on the browser, try to create the xmlHttp object
79
    //Depending on the browser, try to create the xmlHttp object
74
    if (is_ie){
80
    if (is_ie){
Line 101... Line 107...
101
    
107
    
102
    //Return the instantiated object
108
    //Return the instantiated object
103
    return objXmlHttp;
109
    return objXmlHttp;
104
}
110
}
105
 
111
 
106
 
-
 
107
 
-
 
108
//-->
112
//-->
109
113