11-11-2011 09:18 AM
function getXmlHttp(){
var xmlhttp;
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (E) {
xmlhttp = false;
}
}
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
xmlhttp = new XMLHttpRequest();
}
return xmlhttp;
}
function startRequest(){
var req = getXmlHttp();
req.open("GET", "https://localhost:8443/solr/alfresco/afts? q=TYPE:%22cm:content%22&wt=xml&facet=true&facet.field=TYPE&facet.sort=count", true);
req.send(null);
}
startRequest();
But a got exception "Cannot find function open". He didn't find XMLHttpRequest. Why? 11-13-2011 08:05 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.