Code for Url
url = "http://eow.alc.co.jp/$$/UTF-8/";Code to parse/filter webpage:
var arrForms = ftDoc.getElementsByTagName("ul");
var actualForm = "";
for (var i = 0; i < arrForms.length; i++){ if (arrForms[i].id == ""){ actualForm = arrForms[i].cloneNode(true); break; } } ftDoc.body.innerHTML = ""; if (actualForm == ""){ ftDoc.body.innerHTML += strNoResults; }else{ ftDoc.body.appendChild(actualForm); }
0 件のコメント:
コメントを投稿