A voir également:
- Javascript + txt
- Telecharger javascript - Télécharger - Langages
- Txt to bat - Forum Windows
- A javascript error occurred in the main process - Forum Windows
- A javaScript error occurred in the main process - Forum Handicap / Accessibilté
- Trouver erreur de syntaxe fichier txt - Forum Windows
1 réponse
function ajax()
{
var xhr=null;
if (window.XMLHttpRequest) {
xhr = new XMLHttpRequest();
}
else if (window.ActiveXObject)
{
xhr = new ActiveXObject("Microsoft.XMLHTTP");
}
//on appelle le fichier reponse.txt
xhr.open("GET", "http://siteweb/fichier.txt", false);
xhr.send(null);
document.write(xhr.responseText);
document.close();
}--
%22