prototypeでAjax


1.prototype.jsをダウンロード


2.ajax.htmlを配置


ajax.html





sample



tagert here

↑※p id="blk"<"input" type="button" value="click" onclick="new Ajax.Updater('blk','data.html',{method: 'get'});"/>

data.html (取り出すデータ)

harada