function message(){
	msg = document.getElementById("sendMessageText").value;
	user = document.getElementById("user").innerHTML;
	sendChannel.send(user + " : " + msg);
	document.getElementById("dispalyMessage").innerHTML+="You: "+msg+"<br>";
}
// send the message to other client when the connection is established
send the message to other client when the connection is established
send the message to other client when the connection is established
function message(){
	msg = document.getElementById("sendMessageText").value;
	user = document.getElementById("user").innerHTML;
	sendChannel.send(user + " : " + msg);
	document.getElementById("dispalyMessage").innerHTML+="You: "+msg+"<br>";
}
function message ( ) { msg = document . getElementById ( "sendMessageText" ) . value ; user = document . getElementById ( "user" ) . innerHTML ; sendChannel . send ( user + " : " + msg ) ; document . getElementById ( "dispalyMessage" ) . innerHTML += "You: " + msg + "<br>" ; }
send the message to other client when the connection is established
send the message to other client when the connection is established