This commit is contained in:
DL6ER
2017-01-14 13:36:43 +01:00
parent 1b211cbe5c
commit f9d353af83

View File

@@ -3,6 +3,7 @@ var exact = "";
// Credit: http://stackoverflow.com/a/10642418/2087442
function httpGet(ta,theUrl)
{
var xmlhttp;
if (window.XMLHttpRequest)
{
// code for IE7+
@@ -15,12 +16,12 @@ function httpGet(ta,theUrl)
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
if (xmlhttp.readyState === 4 && xmlhttp.status === 200)
{
ta.show();
ta.show();
ta.html(xmlhttp.responseText);
}
}
};
xmlhttp.open("GET", theUrl, false);
xmlhttp.send();
}