$().SPServices({
operation: "GetAllSubWebCollection",
async:false,
completefunc: function(xData, Status) {
$(xData.responseXML).find("Webs > Web").each(function() {
var $node = $(this);
var siteTitle = $node.attr("Title").replace(/\s/g, "");
alert(siteTitle);
});
}
});
operation: "GetAllSubWebCollection",
async:false,
completefunc: function(xData, Status) {
$(xData.responseXML).find("Webs > Web").each(function() {
var $node = $(this);
var siteTitle = $node.attr("Title").replace(/\s/g, "");
alert(siteTitle);
});
}
});
No comments:
Post a Comment