| Spread.Sheets Documentation > Sample Code > Sample Code for Cells > Setting the Active Cell at a Specific Location |
You can specify the location of the active cell.

This example sets the location of the active cell.
| JavaScript |
Copy Code
|
|---|---|
|
$("#button1").click(function () { //Display the active cell on top left |
|