Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
0 answers
61 views

Disable click outside of bootstrap modal area only for a few second [duplicate]

I have a Boostrap modal that pops-up when a user reaches a webpage. I'd like to prevent, only for a few seconds, users closing the modal, by clicking outside of it. After that time the user will ...
alopez02's user avatar
  • 1,524
0 votes
0 answers
135 views

Bootstrap 3 modal box doesn't show if mobile/ipad/tablet screen is locked?

I have modal box that should show if warning timer is triggered. Here is example of my code: var sessionMinutes = 5, // Session length in minutes. secondsToModal = 120, // Set number of ...
espresso_coffee's user avatar
0 votes
2 answers
571 views

Bootstrap Modal breaks with FullCalendar

Error I recieve: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'modal' The minute I apply the links for the fullcalendar, modals break. Any reason for this? I ...
narue1992's user avatar
  • 1,173
1 vote
1 answer
55 views

Ajax issue of Django user login using bootstrap 3.x modal

My purpose is once modal form submitted, ajax pass the username and password to a view and get back the json info to update the modal form, I trace the djanog code ,and 100% sure the JsonResponse(...
wu peter's user avatar
-1 votes
1 answer
2k views

Capture the click event on bootbpx confirm/alert box buttons

I am trying to create a plugin to capture all the click events on a page. These have confirm and alerts are shown using bootbox plugin. I would like to attach a click event to bootbox confirm/alert ...
Simple Coder's user avatar
0 votes
1 answer
978 views

bootstrap 3 modal, cropperjs

using bootstrap 3 modal to show cropperjs cropper(https://github.com/fengyuanchen/cropper) with an image loaded from api. For some reason image load is called when image width is 0, and cropper is ...
Skaplun's user avatar
  • 65
1 vote
1 answer
1k views

Bootstrap Dialog Global options?

I have many dialog popups spread across many pages, each utilizing BoostrapDialog BootstrapDialog.show({...}); or var x = new BootstrapDialog({...}); I want to add the "closeByBackdrop: true" ...
Steve's user avatar
  • 177
2 votes
1 answer
5k views

Is it possible to make a modal inside a modal? (nested modal)

On a project, I'd like to have a bootstrap modal inside another one. When you click button1=> a modal open. Then on a button2 which is on this modal, it opens another modal. Can bootstrap (and I) do ...
Stefdelec's user avatar
  • 2,772
0 votes
1 answer
30 views

How to open bootstrap dialogue where the user click on the page

When user clicks on the page I am trying to set the bootstrap dialogue modal (dialogue of 250 width) at the clicked position on mousedown event! However my dialogue modal doesn't open at the clicked ...
seUser's user avatar
  • 1,103
0 votes
2 answers
1k views

How to NOT show a modal again after a button is clicked/accepted/confirmed?

I have a bootstrap modal showing up that needs to be confirmed/accepted/clicked (button: #id_complete) in order to access the page. In order to activate the button the user needs to click two check ...
Philipp M's user avatar
  • 3,448
1 vote
2 answers
4k views

How to detect the dismissal of a bootstrap modal dialog in javascript?

I am trying to work with the bootstrap modal dialog. The events I am using are hidden and show. I have no problem using the show event. I don't understand how to use the hidden event on the other hand....
BdN3504's user avatar
  • 1,733
2 votes
2 answers
2k views

Ask if user really want to close bootstrap modal

I have a bootstrap modal. When it is closed some instructions are executed. But now I want to ask if user really want to close it (with a confirm window) What can i do? Here is my code at the moment. ...
Pablo De Luca's user avatar
1 vote
1 answer
2k views

Bootstrap Modal with individual attributes

I would like to use one Bootstrap Modal for several functions, which should be loaded dynamically by clicking on a button / link (see example). For some reason the attributes (data-mTitle & data-...
Bonaparte's user avatar
0 votes
1 answer
442 views

Modal does opens but does not close?

I am having Issues with the modal, it opens on loading and does not respond to clicks to close it. Not sure what the Issue is. Attached is the code I have. How do I make the modal open as I click the ...
Eyad Abdalla's user avatar
3 votes
5 answers
7k views

Bootstrap Modal not closing on X or Close button, but does on ESC or clicking in the overlay

Well, the title says it all. I have a default (copied from Bootstrap docs) modal which opens using $('#myModal').modal(); but under no circumstances the modal closes with the dismiss X or cancel ...
Ben's user avatar
  • 11.1k

15 30 50 per page