XMLHttpRequestでテキストファイルを読み込む | GRAYCODE JavaScript

JavaScriptレシピ

Ajaxを使ってテキストファイル「test.txt」を読み込むデモ