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
|
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 |
|