Commit c9f0bc21 authored by Markus Bergt's avatar Markus Bergt

changed send

parent ae46e6f0
......@@ -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