Questions tagged [bootbox]

Bootbox.js is a small JavaScript library which allows you to create programmatic dialog boxes using Bootstrap modals.

Bootbox.js is a small JavaScript library which allows you to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers.


Useful resources :

459 questions
5
votes
4 answers

How to confirm a form submission with Bootbox using jQuery AJAX and JSON

I'm working in a web application using Spring MVC. I'm trying to show a confirmation dialog before submitting a form using Bootbox, but I'm getting a 500 internal server error. This is my form:
StackQuestion
  • 483
  • 2
  • 7
  • 20
5
votes
2 answers

ScrollTop bootbox modal on fadeIn

I use bootbox.js to make modal but when the modal fadeIn and the content is too long, the scrollbar goes at the level of the bottom button. I need the scrollbar stay on top when modal appear
Thomas Mairé
  • 516
  • 4
  • 16
5
votes
2 answers

jQuery add CSS Class to bootbox Modal Dynamically

I am using the jQuery plugin called Bootboxjs for my modals. This is how I run the code: bootbox.dialog({ title: '  View Likes', buttons: { close: { label: '
SBB
  • 8,560
  • 30
  • 108
  • 223
5
votes
2 answers

Can Bootbox.confirm work synchronously?

In an aspx page, there is an asp:linkbutton like this:
Fran
  • 159
  • 2
  • 15
5
votes
2 answers

Chosen dropdown list not working with Modal

I am trying to get a jQuery Chosen select / dropdown list to work in a Bootbox modal. I have almost the same exact code working on a standard HTML page, so I thought it would be straight forward to just pop my list into a modal. I generate my divs…
4
votes
3 answers

Bootbox modal is not scrollable after a second modal is opened

JS fiddle: http://jsfiddle.net/9y7nrx9m/2/ I am creating a bootbox dialog initially: // First dialog bootbox.dialog({ message: '' + '
bar'.repeat(100), allowCancel:…
rohithpr
  • 6,050
  • 8
  • 36
  • 60
4
votes
2 answers

Alert box does not work

I am trying to display an alert box and click on Ok to refresh the page. I have tried using window.location.reload(true) I want to show a message before page reload. The problem is that the page reloads automatic but the alert box not showing. HTML…
Neel Thakkar
  • 406
  • 6
  • 14
4
votes
1 answer

How to force close of bootbox.alert() on an outside of modal click?

How to force close of bootbox.alert() on an outside of modal click? Ideally without jQuery. I am using Bootbox v4.4.0.
kiriz
  • 655
  • 1
  • 7
  • 24
4
votes
3 answers

Bootbox confirm: return client result in order to do postback to rowCommand

Before bootbox, I did this on aspx file in gridview;
ninbit
  • 530
  • 6
  • 24
4
votes
2 answers

I wasn't able to get input field values Bootbox

Action Description:
Action Reponsible:
Sahin Yanlık
  • 1,171
  • 2
  • 11
  • 21
4
votes
2 answers

why bootboxjs scroll my page to top?

I use button as well as div but in all cases bootbox.js scroll my page to top. $("#sampleButton").click(function(){ bootbox.alert("hey"); });
mitesh
  • 916
  • 9
  • 13
4
votes
5 answers

Bootboxjs: how to render a Meteor template as dialog body

I have the following template: That session helper simply is a go-between with the Session object. I have that…
blaineh
  • 2,263
  • 3
  • 28
  • 46
4
votes
4 answers

Bootstrap Bootbox removing browser scrollbar after loading alertbox

I'm working with bootbox alerts. Its working fine but after loading the alerts my browser's scrollbar become vanishes and i can't scroll my page bootbox.dialog({ closeButton:false, message: "Do you clear all contents?", title: "Are…
4
votes
2 answers

Bootbox validation

I am trying to create a modal using Bootbox. I have the modal popup and ask you to fill in some data. I am then trying to do validation so when they click on save, it checks to just make sure the fields are filled in. How can I prevent the modal…
SBB
  • 8,560
  • 30
  • 108
  • 223
4
votes
2 answers

Pass "this" to a bootbox callback with Backbone

I'm using Backbone and bootbox. This is my code inside a view: confirm : function(result) { if (result === true) { var that = this; this.model.set({completed: '1'}); // Exception here …
dierre
  • 7,140
  • 12
  • 75
  • 120
1 2
3
30 31