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

All Questions

0 votes
1 answer
138 views

(bootstrap) modal does not show

I am learning to make a basic modal that shows on click of a link. Can anyone explain to me why the code below does not work? Upon clicking, nothing happens. Also, do i always have to include ...
Ziqi's user avatar
  • 2,524
1 vote
1 answer
544 views

Leaflet map not showing properly in bootstrap 3.6 modal

When I try to display the map in my modal I get this: I have nothing in my controller angularJS and this is my html: <leaflet lf-center="japan" geojson="geojson" geojson-nested="true" height="...
Rajeun's user avatar
  • 721
0 votes
0 answers
425 views

Leaflet map is not shown properly when opened in boostrap3 modal in Safari

I have a leaflet map opened and displayed in a Bootstrap3 modal. The map is shown correctly in Chrome and Firefox but when opened in Safari (Version 9.0.3) its zoomed in and only part of it is ...
user1919's user avatar
  • 3,908
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
0 votes
1 answer
366 views

Wordpress + bootstrap + modal

I'm having some trouble with this code. Basically, 4 recent posts have to be opened in modals. This all happens inside a loop. It "works" but I have 2 issues: I need to click many times on the volume ...
SF1's user avatar
  • 469
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
0 answers
40 views

how to keep scroll on modal popup called from an other modal window

here my problem: I open a modal popup and I can scroll it properly, then when I open a new model popup from this one if I try to scroll down this popup the scroll is on the main webpage in background....
user3155074's user avatar
  • 1,131
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
1 vote
1 answer
10k views

Empty "<div class="modal-backdrop fade in"></div>"

I have problem with modal in my code, there is not appear and div with class "modal-backdrop fade in" is empty. <body> <button type="button" title="Usuń" class="deleteButton btn btn-default ...
cadi2108's user avatar
  • 1,280

15 30 50 per page
1 2 3
4
5
16