Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
0e29b18
1
Parent(s):
a17cf1a
Update online.html
Browse files- online.html +8 -1
online.html
CHANGED
@@ -355,7 +355,14 @@
|
|
355 |
|
356 |
|
357 |
|
358 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
|
360 |
|
361 |
|
|
|
355 |
|
356 |
|
357 |
|
358 |
+
<script>
|
359 |
+
document.getElementById("pH_set_but").addEventListener("click", function() {
|
360 |
+
var pHValue = document.getElementById("pH_set").value;
|
361 |
+
var xhr = new XMLHttpRequest();
|
362 |
+
xhr.open("GET", "/pH_set?value=" + pHValue, true);
|
363 |
+
xhr.send();
|
364 |
+
});
|
365 |
+
</script>
|
366 |
|
367 |
|
368 |
|