I have some doubts, what is the error of ajax?
$.ajax({
url: 'ws/controller/sys_controller.php?id=4',
type: 'post',
data: dados,
success: function (data) {
/*$("#loading").hide();
$('#message').html('');
$("#message").append(data);
$("#message").show( "puff", { times:3, distance:100, direction:'down' }, 2000 ).delay(5000).hide( "puff", { times:3, distance:100, direction:'down' }, 5000 );*/
null;
},
error: function (request, status, error) {
alert(request.responseText);
}
});