# ShowMessage

Use the ShowMessage method to show an error message. Learn its syntax and parameters in documentation.

## Content

Shows an error message.

## Syntax

[JavaScript]

```javascript
FpSpread1.ShowMessage(message,row,column,time);
```

## Parameters

***message***
String, message text
***row***
Integer, row index
***column***
Integer, column index
***time***
Integer, time (optional)

## Return Type

None

## Remarks

This method shows an error message. The time is the number of milliseconds the message box will stay visible. The time parameter is optional. This method does not cause a postback to occur.

## 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 show() {
     FpSpread1.ShowMessage(“test”,1,1,500);
     }
</script>
```

## See Also

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