Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 568 Bytes

GetAllSubWebCollection.md

File metadata and controls

23 lines (20 loc) · 568 Bytes
title function web_service web_service_operation
GetAllSubWebCollection
$().SPServices
Webs
GetAllSubWebCollection

Example

Thanks to Matt Bramer (iOnline247) for providing this example.

$().SPServices({
  operation: "GetAllSubWebCollection",
  completefunc: function(xData, Status) {
    console.log( xData.responseText );
    $(xData.responseXML).find("Webs > Web").each(function() {
      var $node = $(this);
      console.log( $node.attr("Title") );
    });
  }
});