Oppure

Loading
18/09/09 18:17
Ioshiro
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?
aaa
06/11/09 21:48
NewAge
1) ti consiglio di usare come libreria jquery

2) se cambiassi da get in post dovresti ( secondo me ) aggiungere altri parametri, guarda sul sito di supporto per sapere come costruire il comando
aaa