Get current site display name using SPServices
var CurrentSiteName
function GetCurrentSiteDisplayName(){
jQuery().SPServices({
operation: "SiteDataGetWeb",
async: false,
completefunc: function (xData, Status) {
CurrentSiteName= jQuery(xData.responseXML).SPFilterNode("Title").text();
}
});
}
var CurrentSiteName
function GetCurrentSiteDisplayName(){
jQuery().SPServices({
operation: "SiteDataGetWeb",
async: false,
completefunc: function (xData, Status) {
CurrentSiteName= jQuery(xData.responseXML).SPFilterNode("Title").text();
}
});
}
No comments:
Post a Comment