1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
this.readHttpRequestResponse = function readHttpRequestResponse ()
{
var fen2;
if (m_http_request.readyState == 4)
{
if (m_http_request.status == 200 ||m_http_request.status == 400 )
{
//document.getElementById("loading").firstChild.nodeValue = "";
document.getElementById("result").innerHTML = m_http_request.responseText;
if(fen2 != null)
fen2.close();
else
alert('null');
}
else
{
alert('Un problème est survenu avec la requête.');
}
}
else
{
fen2 =window.open("<a href="http://localhost:8080/portal/jsp/loading.jsp" target="_blank">http://localhost:8080/portal/jsp/loading.jsp","Loading","width=200,height=100</a>, top=400,left=400, resizable=no, toolbar=no,directories=no, menubar=no,scrollbars=no,status=no");
}
} |
Partager