debisoft commited on
Commit
6ef4c7e
·
1 Parent(s): c23dbb3
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -45,8 +45,8 @@ function load()
45
  }
46
 
47
  function handle_post() {
48
- messages_input = $("#chat_form :input[name='messages']");
49
- alert(messages_input.val());
50
  console.log(messages_input);
51
  }
52
 
 
45
  }
46
 
47
  function handle_post() {
48
+ messages_input = $("#chat_form :input[name='messages']").value;
49
+ alert(messages_input);
50
  console.log(messages_input);
51
  }
52