Update zapro.html
Browse files- zapro.html +5 -3
zapro.html
CHANGED
@@ -24,13 +24,15 @@
|
|
24 |
|
25 |
<script>
|
26 |
$(document).ready(function() {
|
27 |
-
function updateValues(deyValue, wekValue, phValue, ecValue, tSValue, tAValue ) {
|
28 |
$("#dey").text(deyValue);
|
29 |
$("#wek").text(wekValue);
|
30 |
$("#ph").text(phValue);
|
31 |
$("#ec").text(ecValue);
|
32 |
$("#tS").text(tSValue);
|
33 |
-
$("#tA").text(tAValue);
|
|
|
|
|
34 |
}
|
35 |
|
36 |
function fetchValues() {
|
@@ -39,7 +41,7 @@
|
|
39 |
method: "GET",
|
40 |
dataType: "json",
|
41 |
success: function(response) {
|
42 |
-
updateValues(response.dey, response.wek, response.ph, response.ec, response.tS, response.tA);
|
43 |
}
|
44 |
});
|
45 |
}
|
|
|
24 |
|
25 |
<script>
|
26 |
$(document).ready(function() {
|
27 |
+
function updateValues(deyValue, wekValue, phValue, ecValue, tSValue, tAValue, hDmValue, sVenValue) {
|
28 |
$("#dey").text(deyValue);
|
29 |
$("#wek").text(wekValue);
|
30 |
$("#ph").text(phValue);
|
31 |
$("#ec").text(ecValue);
|
32 |
$("#tS").text(tSValue);
|
33 |
+
$("#tA").text(tAValue);
|
34 |
+
$("#hDm").text(hDmValue);
|
35 |
+
$("#sVen").text(sVenValue);
|
36 |
}
|
37 |
|
38 |
function fetchValues() {
|
|
|
41 |
method: "GET",
|
42 |
dataType: "json",
|
43 |
success: function(response) {
|
44 |
+
updateValues(response.dey, response.wek, response.ph, response.ec, response.tS, response.tA, response.hDm, response.sVen);
|
45 |
}
|
46 |
});
|
47 |
}
|