diff --git a/jscolor-example.html b/jscolor-example.html index aa23d1b..dfc23c9 100644 --- a/jscolor-example.html +++ b/jscolor-example.html @@ -47,7 +47,8 @@ ready = true; }; }; - xhttp.open("GET", "http://192.168.0.104/off", true); + ip = document.getElementById("ip-address").value ; + xhttp.open("GET", ip + "/off", true); xhttp.send(); }