GetAllSubWebCollection method

Nov 30, 2011 at 1:48 PM

I wanted to pay this forward since there isn't a demo script for it... 

		$().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") );
				});
			}
		});

Cheers,

Coordinator
Dec 1, 2011 at 2:19 AM

Thanks, Matt!

I've added your example to the GetAllSubWebCollection documentation page.

M.