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

All Questions

3 votes
1 answer
11k views

Open bootstrap modal in new tab

Is there anyway to open bootstrap modal in new tab after click middle mouse button (or just simply click right mouse button on item and click "Open in new tab")? Expected behaviour: User can open ...
ulou's user avatar
  • 5,783
4 votes
2 answers
17k views

Close button on modal not working...what am i doing wrong?

I've made a modal that makes an image pop up when it's clicked but I can't get the close button to work for some reason. Can someone check my code and see where I went wrong? Or give me some ...
Breevie's user avatar
  • 95
7 votes
3 answers
27k views

how can i increase bootstrap modal height

I am simply trying to make a bootstrap modal display extremely tall on a iphone 5/6 device. I cannot get this to work for anything. I have tried increasing the height in the modal-content, as well ...
Vzupo's user avatar
  • 1,468
0 votes
1 answer
303 views

Modal box coming in faded mode - ngx-modal (Angular 2)

I am using modal box from here. When ever I trigger it it is shown in faded mode. I don't know what would be the reason behind it. <button (click)="myModal.open()">open my modal</button>...
Rahul's user avatar
  • 5,762
0 votes
1 answer
260 views

can bootstrap modal open different pages

i have like 20 links on a page and all of them open the same modal but with different sets of content.. the links are like : <a href="/applications/upcoming/2017-04-30/VISA/0" data-target="#...
user1745467's user avatar
0 votes
1 answer
875 views

Get data id modal bootstrap

I would like that when clicking the button it presents the data-id in the modal. <button data-id="$id" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">OPEN</button&...
Espector's user avatar
  • 451
-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
1k views

Angular - Bootstrap: Modal not opening from button dropdown menu

I have three components - app, sideNav and wallForm. In the app header, I have a button that drops down the sideNav. The sideNav has an add button which opens the wallForm modal. This is an ng2-...
Shilpa Nagavara's user avatar
1 vote
2 answers
689 views

how to show plane text with break lines and space in bootstrap modal

i read text file and show it on modal but the modal remove all spaces and new line even i can see my text file in correct format in Inspect window How i can show text in correct format ?
mohammad's user avatar
  • 375
0 votes
1 answer
1k views

Bootstrap modal - Prevent shift AND background scroll

I was having trouble to prevent background shifting when bootstrap modal opened. I added the following classes to my css: .modal { overflow-y: auto !important; } .modal-open { overflow: auto !...
Ronan Lopes's user avatar
  • 3,368
0 votes
1 answer
756 views

AngularJS UI-Bootstrap modal passing parameters to modal

I'm trying since couple of days to open a modal and passing it some parameters based on the link the user will click. I'm using AngularJS 1.5.8 and UI-Bootstrap 2.1.3 with Bootstrap CSS 3.3.7. I'm ...
john_v's user avatar
  • 21
1 vote
1 answer
1k views

When using multiple bootstrap modals on a single page (not displaying them at the same time) only the first modal works

I am having a strange problem and have spent the majority of the last 4 working hours trying to figure this out. I have read most of the similar questions on here but they are either not working due ...
ThatChris's user avatar
  • 752
0 votes
1 answer
563 views

Prevent bootstrap modal from closing when inputs are not filled

I have a grid of students and a button. When a user clicks it, a new modal is shown. In the modal there are some inputs and a button "save". When a user clicks save via angular, the new student is ...
sabadvali's user avatar
0 votes
1 answer
73 views

Dynamic bootstrap modals in Rails application not working

I'm creating a simple app and I'm trying to add dynamically generated modals like this: <% @friends.each do |friend| %> <div class = "row user"> <div class = "col-sm-4" >...
Rabbit's user avatar
  • 37
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

15 30 50 per page
1 2
3
4 5
16