# Next

Use the Next method to change the display for showing the next page. Learn its syntax and parameters in documentation.

## Content

Changes the display to show the next page.

## Syntax

[JavaScript]

```javascript
FpSpread1.Next();
```

## Parameters

None

## Return Type

None

## Remarks

This method is similar to pressing the Next (>>) button on the command bar or the other page navigation aids; it advances one page to display the next set of rows. If there is not a next page, the Spread stays on the current page. This method causes a postback to occur. When this method is called, the **TopRowChanged** event is raised on the server.

## 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 onNextButtonClick() {
       FpSpread1.Next();
   }
</script>
```

## See Also

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