debisoft commited on
Commit
bae1ef6
·
1 Parent(s): 1ebb6d8
Files changed (1) hide show
  1. main.py +11 -3
main.py CHANGED
@@ -27,9 +27,17 @@ function load()
27
  }).addTo(map);
28
  //alert('loading...');
29
 
30
- messages_input = $("#chat_form :input[name='messages']");
31
- alert(messages_input);
32
- console.log(messages_input);
 
 
 
 
 
 
 
 
33
  //messages_input.change(function(){
34
  //alert("The text has been changed.");
35
  //});
 
27
  }).addTo(map);
28
  //alert('loading...');
29
 
30
+
31
+
32
+ $( "#chat_form" ).on( "submit", function( event ) {
33
+ alert( "Handler for `submit` called." );
34
+ //event.preventDefault();
35
+ });
36
+
37
+
38
+ //messages_input = $("#chat_form :input[name='messages']");
39
+ //alert(messages_input);
40
+ //console.log(messages_input);
41
  //messages_input.change(function(){
42
  //alert("The text has been changed.");
43
  //});