|
@@ -126,10 +126,10 @@
|
|
|
<div class="col-sm-4">
|
|
|
<div class="card">
|
|
|
<div class="card-body">
|
|
|
- <h5 class="card-title">Traffic</h5>
|
|
|
+ <h5 class="card-title">Category</h5>
|
|
|
<p class="card-text">
|
|
|
</p>
|
|
|
- <a href="#" class="btn btn-primary" id="traffic"></a>
|
|
|
+ <a href="#" class="btn btn-primary" id="category"></a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -185,6 +185,8 @@
|
|
|
var descriptions=document.getElementById('descriptions');
|
|
|
var globalrank=document.getElementById('globalrank');
|
|
|
var countryrank=document.getElementById('countryrank');
|
|
|
+ var category=document.getElementById('category');
|
|
|
+
|
|
|
console.log(response.data);
|
|
|
// alert(response.data.SiteName);
|
|
|
// var obj = JSON.parse(response.data);
|
|
@@ -194,6 +196,9 @@
|
|
|
globalrank.innerHTML=response.data.GlobalRank.Rank;
|
|
|
sitetitle.innerHTML=response.data.Title;
|
|
|
countryrank.innerHTML=response.data.CountryRank.Rank;
|
|
|
+ category.innerHTML=response.data.Category;
|
|
|
+
|
|
|
+
|
|
|
// sitename.innerHTML =response.data
|
|
|
|
|
|
console.log(response.status);
|