function Send(){ $.ajax({ type: "POST", url: "ajax.php", data: { action : "send", name : nick, message : $(".send_mess").attr('value') }, dataType: "json", *!* success: Load() */!* });