function Favo(Id) { $("state").innerHTML = "
"; var url = "https://www.kumamoto-ken.com/prototype/xml.php?id="+Id; var paramList = ""; new Ajax.Request(url, { method: 'get', parameters: paramList }); } function Delete(Id) { $("state").innerHTML = '
更新する
'; var url = "https://www.kumamoto-ken.com/prototype/xml.php?type=delete&id="+Id; var paramList = ""; new Ajax.Request(url, { method: 'get', parameters: paramList }); }