Response title
This is preview!




function loadHoldsAndWarnings(fragment_url) {
try {
var errorText = "<B>Errors during retrieval of holds and warnings:</B><BR/>";
var element = document.getElementById('hidHoldWarnings');
xmlhttp =
new XMLHttpRequest();xmlhttp.open(
"GET", fragment_url);xmlhttp.onreadystatechange =
function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {element.innerHTML = xmlhttp.responseText;
}
}
xmlhttp.send(
null); var tblElements = document.getElementById('hidHoldWarnings').getElementsByTagName("table"); if (tblElements){
errorText = errorText +
"<B>Value of xmlhttp.responseText:</B><BR/>";errorText = errorText + xmlhttp.responseText +
'<BR/>';tblElements.innerHTML.replace(
'summary="Restrictions"','id="tblHoldRestrict"');tblElements = document.getElementById(
'tblHoldRestrict'); return tblElements;}
else { return "Nothing";}
}
catch (e) {errorText = errorText + e;
document.getElementById(
"divErrors").innerHTML = document.getElementById("divErrors").innerHTML + errorText;}
}
© 2012 jQuery Foundation
Sponsored by
and others.
