section: javascript
id: bootbox
description: warn, confirm and content editing modal box
icon: icon-question-sign
filter: motaiduihuakuang mtdhk
---

# Bootbox

Bootbox is used to replace the built-in dialog box and share the same look as [Modal](#javascript/modal).

Bootbox is an independent component, so you need to introduce assets in lib/ from local or CDN:

```html
<link href="lib/bootbox/bootbox.min.css" rel="stylesheet">
<script src="lib/bootbox/bootbox.min.js"></script>
```

Please refer to [Official website](http://bootboxjs.com/#) for howto.

<link href="../../dist/lib/bootbox/bootbox.min.css" rel="stylesheet">
<script src="../../dist/lib/bootbox/bootbox.min.js"></script>
