modifié: test.html

This commit is contained in:
sidya82 2014-02-27 21:28:02 +01:00
parent f592f7ec5e
commit 493e758031
1 changed files with 1 additions and 1 deletions

View File

@ -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://192.168.1.23:80"); var ws = new WebSocket("ws://192.168.1.23/test:80");
ws.onopen = function(evt) { alert("Connection open ..."); ws.onopen = function(evt) { alert("Connection open ...");
ws.send(val.value); }; ws.send(val.value); };