var vURL = "http://webs.academia.cat/assets/api_cicle/noticies.php"; $.ajax({ url: vURL, type: "POST", data: { codient: '021', tipusent: '2', paginacio: "true", format:'html', limit: '8', detall: '?p=page/html/detallnoticia', param_idnoticia : '/' }, success: function (r) { $("#retornHTML").html(r); } });