> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/showmessagebox-deprecated.md).

# showMessageBox (deprecated)

### brixxApi.**showMessageBox**

Displays a modal messagebox with buttons. Each button gets a function that is called when the button is clicked. The Messagebox will **NOT** block the script. The next line after the messagebox will be executed while the messagebox is still visible. If you want to wait for the button click. use waitForMsgBox instead.

### Parameters

messageBoxOptions - A JSON object with messageBox parameters

### Example Usages

```javascript
   brixxApi.showMessageBox({
      title: "sampel title",
      text: "sampel text",
      buttons: [
         {
             title: "myButton",
             click: function(){
                 console.log("myButton clicked!!!!");
             }
         }
   ]});
```
