All Questions
Tagged with jquery twitter-bootstrap
2,177
questions
624
votes
16
answers
1.1m
views
Passing data to a bootstrap modal
I've got a couple of hyperlinks that each have an ID attached. When I click on this link, I want to open a modal ( http://twitter.github.com/bootstrap/javascript.html#modals ), and pass this ID to the ...
985
votes
17
answers
2.5m
views
How to open a Bootstrap modal window using jQuery?
I'm using Twitter Bootstrap modal window functionality. When someone clicks submit on my form, I want to show the modal window upon clicking the "submit button" in the form.
<form id="myform" ...
265
votes
22
answers
179k
views
Twitter bootstrap remote modal shows same content every time
I am using Twitter bootstrap, I have specified a modal
<div class="modal hide" id="modal-item">
<div class="modal-header">
<button type="...
245
votes
35
answers
354k
views
Multiple modals overlay
I need that the overlay shows above the first modal, not in the back.
$('#openBtn').click(function(){
$('#myModal').modal({show:true})
});
<a data-toggle="modal" href="#myModal" class="btn ...
608
votes
12
answers
671k
views
Bind a function to Twitter Bootstrap Modal Close
I am using the Twitter Bootstrap lib on a new project and I want for part of the page to refresh and retrieve the latest json data on modal close. I dont see this anywhere in the documentation can ...
141
votes
19
answers
250k
views
How can I keep selected Bootstrap tab on page refresh?
I am trying to keep selected tab active on refresh with Bootstrap 3. Tried and checked with some question already been asked here but none of work for me. Don't know where I am wrong. Here is my code
...
371
votes
16
answers
657k
views
What is the easiest way to disable/enable buttons and links (jQuery + Bootstrap)
Sometimes I use anchors styled as buttons and sometimes I just use buttons. I want to disable specific clicky-things so that:
They look disabled
They stop being clicked
How can I do this?
285
votes
17
answers
329k
views
twitter bootstrap typeahead ajax example
I'm trying to find a working example of the twitter bootstrap typeahead element that will make an ajax call to populate it's dropdown.
I have an existing working jquery autocomplete example which ...
5
votes
2
answers
7k
views
How to get header from cards or similar to have the same height with flex box?
No hacks please
no hard coding. The idea is not solving it for one case, e.g. for the case that there is 4 columns, but solving it for dynamic content and for responsive screen sizes.
The problem to ...
207
votes
17
answers
313k
views
$(window).width() not the same as media query
I am using Twitter Bootstrap on a project. As well as the default bootstrap styles I have also added some of my own
//My styles
@media (max-width: 767px)
{
//CSS here
}
I am also using jQuery ...
21
votes
2
answers
24k
views
Make VueJS and jQuery play nice
This question is related/similar to Using intl-tel-input and vuejs2 together , which is still unanswered.
And VueJS Use prop as data-attribute value which has a solution, but explains a bit the "...
196
votes
17
answers
453k
views
How to Display Selected Item in Bootstrap Button Dropdown Title
I am using the bootstrap Dropdown component in my application like this:
<div class="btn-group">
<button class="btn">Please Select From List</button>
<button class="btn ...
78
votes
5
answers
30k
views
JQuery gets loaded only on page refresh in Rails 4 application
I have created a Rails 4 application and have added fancybox library for an image popup effect. It works fine but only when the page is being refreshed. If the page is not refreshed by the user then ...
583
votes
29
answers
353k
views
Disallow Twitter Bootstrap modal window from closing
I am creating a modal window using Twitter Bootstrap. The default behavior is if you click outside the modal area, the modal will automatically close. I would like to disable that -- i.e. not close ...
128
votes
14
answers
304k
views
Bootstrap 3 Collapse show state with Chevron icon
Using the core example taken from the Bootstrap 3 Javascript examples page for Collapse,
I have been able to show the state of collapse using chevron icons.
I have this working using:
$('#accordion ...