Salut,
t'as une boite qui doit t'afficher le contenu... cette boite doit avoir un id...
if(MSIE){
R = new ActiveXObject("Microsoft.XMLHTTP") ;
}else{
R = new XMLHttpRequest();
}
R.open("POST", "page.extention", true);
R.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
R.onreadystatechange = function_callback;
R.send("champ_post="+valeur);Bon, c'est un exemple,... dans ta fonction callback, tu as :
reponse=R.responseText;
document.getElementById("moncontenneur").innerHTML=reponse;In a dream, I saw me, drop dead... U was there, U cried... It was just a dream, if I die, U won't cry, maybe, U'll be happy
Mon site (articles sur la programmation et programmes)