modifié: test.html
This commit is contained in:
parent
62bc232719
commit
f592f7ec5e
@ -7,7 +7,7 @@ function fun(){
|
|||||||
alert("in fun()");
|
alert("in fun()");
|
||||||
|
|
||||||
var val=document.getElementById("txt");
|
var val=document.getElementById("txt");
|
||||||
var ws = new WebSocket("ws://localhost:8888");
|
var ws = new WebSocket("ws://192.168.1.23:80");
|
||||||
|
|
||||||
ws.onopen = function(evt) { alert("Connection open ...");
|
ws.onopen = function(evt) { alert("Connection open ...");
|
||||||
ws.send(val.value); };
|
ws.send(val.value); };
|
||||||
|
Reference in New Issue
Block a user