Io ho questo script
<a href="#" onclick="new Ajax.Request('pagina.php?id=<?= $id ?>&var=variabile&xp=<?= $variabile ?>',
{
method:'get',
onSuccess: function(transport){
var response = transport.responseText || 'no response text';
$('rs').innerHTML=response;
},
onFailure: function(){ alert('Something went wrong...') }
});">
come posso fare per trasformare questa richiesta da get a post?
|