$.get('./mods/webim_offline_email.php', {firstname: $('#webim_firstname').val(), email: $('#webim_email').val(), message: $('#webim_message').val()}, function (data){
alert(1);
$('#webim_offline_inputs').fadeOut(200);
$('#webim_message_div').fadeOut(200);
$('#webim_buttons').fadeOut(200);
$('#webim_offline_sent').fadeIn(200);
}).success(function(){
alert("second success");
}).error(function(){
alert("error");
}).complete(function(){
alert("complete");
});
Request *.php passes, and all that is inside a function works. On the computer friend request passes too, but jQuery believes that he is not passed, the function is not passed and the alert("error")
. Why?
Issue was settled. Sorry. Friends have links without port, and the answer don't came from the page.