# GetChildSpreads

Use the GetChildSpreads method to get an array of the child Spread objects of the displayed page on the client. Learn its syntax and parameters in the documentation.

## Content

Gets an array of the child Spread objects of the displayed page on the client.

## Syntax

[JavaScript]

```javascript
var list = FpSpread1.GetChildSpreads();
```

## Parameters

None

## Return Type

Array of Spread objects (HTML elements)

## Remarks

This method gets an array of the Spread objects of the page displayed on the client.

## Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

```javascript
<script type="text/javascript">
   function displayChildSpreads() {
      var list = FpSpread1.GetChildSpreads();
      if (list!=null) {
         alert("There are "+list.length+" child Spreads created.");
      }
   }
</script>
```

## See Also

[GetChildSpread](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetChildSpread)
[GetParentSpread](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetParSpread)
[GetSpread](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-GetSpread)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)