|
@@ -138,10 +138,10 @@
|
|
.then((response) => {
|
|
.then((response) => {
|
|
var sitename = document.getElementById('sitename');
|
|
var sitename = document.getElementById('sitename');
|
|
console.log(response.data);
|
|
console.log(response.data);
|
|
- alert(response.data.SiteName);
|
|
|
|
|
|
+// alert(response.data.SiteName);
|
|
// var obj = JSON.parse(response.data);
|
|
// var obj = JSON.parse(response.data);
|
|
// alert(obj);
|
|
// alert(obj);
|
|
- // sitename.innerHTML =obj.SiteName;
|
|
|
|
|
|
+ sitename.innerHTML =response.data.SiteName;
|
|
|
|
|
|
// sitename.innerHTML =response.data
|
|
// sitename.innerHTML =response.data
|
|
|
|
|