Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: GetAllSubWebCollection on SharePoint o365

$
0
0
I tried to run below code at SharePoint online,
and I have full control over the site collection,
$(document).ready(function() {
    $().SPServices({
        operation: "GetAllSubWebCollection",
        completefunc: function(xData, Status) {
            $(xData.responseXML).find("Webs > Web").each(function() {
                alert("called my SPservices");
                var $node = $(this);
                var Title = $node.attr("Title");
                var URL = $node.attr("Url");            
            });     

        }

    });     
}); 
But the alert never got run.
Please help. Thanks a lot!

Viewing all articles
Browse latest Browse all 6517

Trending Articles