Commit c07f0487 authored by Nico Schallehn's avatar Nico Schallehn
parents d3ae8d5b c9f0bc21
......@@ -32,10 +32,11 @@ $(document).ready(function() {
$('#sendMessage').click(function(event){
event.preventDefault();
var obj = $.post( "chatform.php", $( "#chatbar" ).serialize() );
var obj = $.post( "send.php", $( "#chatbar" ).serialize() );
obj.done(function(data){
alert(data);
});
$( "#chatbar" ).reset();
});
$('#changeToNormal').click(function(event){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment