add text io

This commit is contained in:
Your Name 2019-03-09 16:46:43 -08:00
parent 757df85246
commit cddf60d976

View File

@ -2,7 +2,7 @@ $('body').on('click', '.clear', function(e) {
$(".input_text").val("");
})
$('body').on('click', '.submit', function(e) {
text = $(".input_text").text();
text = $(".input_text").val();
ws.send(text, function(e){
notifyError(e)
});