Function
$().SPServices

Web Service
Webs

Operation
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") );
    });
  }
});

Last edited Dec 1, 2011 at 2:19 AM by sympmarc, version 2

Comments

No comments yet.