Answer the question
In order to leave comments, you need to log in
How to parse a block that is not on the page initially?
I parsed the search results for the library directory . Now I need to extract from it
echo $xpathSKBM->query('//div[@class="tabdivs"]/div[@class="adddiv"][1]/p[1]/text()')[0]->nodeValue;
function seeAdd(o, ind, c, rdb)
{
typework = "";
addid = "add" + c;
if (take(addid).n.style.display == 'none')
{
if (take(addid).n.innerHTML == '')
{
take(addid).n.innerHTML = '<div class="progress small"><div></div></div>';
var gArr = new Array();
var querylist = new Array();
gArr.push(["_action", "execute"]);
gArr.push(["_html", "stat"]);
gArr.push(["_errorhtml", "error"]);
querylist.push(["_service", "STORAGE:opacfindd:FindView"]);
querylist.push(["_version", "2.3.0"]);
querylist.push(["session", numsean]);
var tmp = /\\{1,}/g;
if (tmp.test(ind))
ind = ind.replace(tmp, '\\');
querylist.push(["iddbIds[0]/id", ind]);
var db = numDB;
if ((typeof rdb != "undefined") && (rdb != ""))
{
db = rdb;
}
querylist.push(["iddbIds[0]/iddb", db]);
var dboutff = outformfull;
if ((typeof dbs[db] != "undefined") && (typeof dbs[db].outformfull != "undefined"))
dboutff = dbs[db].outformfull;
querylist.push(["outform", dboutff]);
querylist.push(["_history", "yes"]);
querylist.push(["$iddb", db]);
if (typeof _localiddb != "undefined")
gArr.push(["querylist", prepareQueryString(querylist, _iddb)]);
else
gArr.push(["querylist", prepareQueryString(querylist, db)]);
ajaxToRCP(gArr, displayAdd);
}
}
showHide2(o, addid);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question