Questions tagged [bootstrap-dialog]

Bootstrap3 Dialog is a wrapper for bootstrap 3.x modals.

Bootstrap3 Dialog is a wrapper for bootstrap 3.x modals.

See project homepage and manual and examples.

Bootstrap3 Dialog makes it more easy to create modals on the fly. Example :

BootstrapDialog.show({
    title: 'Say-hello dialog',
    message: 'Hi Apple!'
});

...Replaces markup like this :

<button class="btn btn-primary" data-toggle="modal" data-target=".bs-example">example</button>

<div class="modal fade bs-example" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-sm">
    <div class="modal-header">
      Say-hello dialog
    </div>
    <div class="modal-content">
      Hi Apple!
    </div>
  </div>
</div>
47 questions
26
votes
2 answers

How to include CDN in javascript?

I know how to include CDN in HTML file. But what I am trying to do is: I…
Kingston
  • 549
  • 1
  • 8
  • 21
18
votes
4 answers

How to open two modal dialogs in Twitter Bootstrap at the same time

I have implemented bootstrap dialog in my project. I have some delete functionality in that dialog, and the delete confirmation message opens another bootstrap dialog. But when the second confirmation dialog is open, the first dialog is not…
8
votes
4 answers

Laravel how to redirect back to boostrap modal dialog window

I want to return to my modal dialog edit form to show validation errors but using Redirect::back I just end up at the HTML page without the modal window. I use BootstrapDialog to load my attendee.edit route into a modal dialog to that pops up an…
Phil
  • 2,176
  • 10
  • 33
  • 56
4
votes
1 answer

bootstrapDialog is failing with querySelector is not a function

I am getting the following error with bootstrapDialog. I am just initializing the bootStrapDialog i.e. BootstrapDialog.alert('I want banana!'); Can anyone help me on how to resolve? Browser throws the error as follows: Uncaught TypeError:…
4
votes
3 answers

Bootstrap dialog confirmation onclick confirmation event

I am trying to write my own method that calls the BootstrapDialog and creates a confirmation popup. If the user selects "confirm" then the method will return true and continue to call the jsf action. The code I have so far: /** * Confirm window …
Sixthpoint
  • 1,161
  • 3
  • 11
  • 34
3
votes
3 answers

How to open a Bootstrap 4 modal dialog using jQuery

How is a Bootstrap 4 modal dialog opened using jQuery? I am able to open a modal with a button like the following, which opens a dialog with the following div:
Robertcode
  • 911
  • 1
  • 13
  • 26
3
votes
1 answer

Adding Warning icon to Bootstrap Dialog

I am using BootstrapDialog to show a warning, Where i am not able to show warning icon in the same. Is there any way/method/key to set icon in BootstrapDailog code. new BootstrapDialog() .setTitle('Warning') .setMessage('Warning on your…
3
votes
1 answer

jQuery Bootstrap dialog $backdrop is undefined

I'm using Bootstrap dialog link in my application. I have included the dependencies in the head section of the html