All Questions
Tagged with javascript twitter-bootstrap
26,726 questions
-2
votes
1
answer
90
views
Refresh dynamic select box in JavaScript with Bootstrap 5 [closed]
Using bootstrap 5, I have the following html:
<select class="form-select">
<option hidden="hidden">17 kW</option>
<option>18 kW</option>
<option>...
2
votes
0
answers
38
views
React + jQuery + Bootstrap code injection on Squarespace
I inherited a React 16 app, built with create-create-app, built and deployed to GitHub Pages with a workflow that watches the main branch. My mission is to move it from Netlify to its new homepage on ...
0
votes
0
answers
39
views
Detecting Scroll in Blazor and Reacting to Scroll Position
I am using Blazor and need to detect when the user scrolls the page... (if possiable i rather do this without JS but I dont see anyway)
for refecence I am trying to create similar menu effect: https://...
0
votes
2
answers
109
views
How to update page content using Bootstrap
I need to update the page content when item in a Bootstrap sidebar is clicked. All examples I find are just showing how to create a responsive sidebar but ends there. E.g. following this tutorial only ...
0
votes
1
answer
60
views
Bootstrap 5 content function only gets called once
I have the following code that creates and initializes a number of Bootstrap popovers.
I need the text to be updated each time it is shown, so I thought being able to set content to a function would ...
2
votes
3
answers
242
views
Nextjs: Getting React type is Invalid [duplicate]
I've restarted using React 18 and react-bootstrap with Next.js, but I'm not understanding the error it is giving out to me. The error is:
React.jsx: type is invalid -- expected a string (for built-in ...
1
vote
1
answer
70
views
Passing entity model data into Bootstrap Modal
I'm trying to pass data to a modal. After searching around the internet and following bootstrap I found a couple of ways. 1) is by passing the model through data-bs-whatever="@Model", ...
0
votes
0
answers
34
views
iOS Keyboard Blocking Dynamic Bottom Canvas in Vue 3 with Bootstrap 5
IPhone Keyboard block Bootstrap 5 Bottom Canvas
Describe the issue
I'm building a Vue 3 project with Bootstrap 5, and I've implemented a dynamic bottom canvas (offcanvas) where users can add and ...
0
votes
1
answer
188
views
Svelte5 and Bootstrap5
I have recently been getting into Svelte and really like it. It's my first framework with the binding stuff, and I have been enjoying just working on some personal projects with it.
However, I am ...
-2
votes
1
answer
76
views
Detecting overflowing menu items doesn't always calculate correctly
I'm trying to calculate if a horizontal menu has space for all menu items, and if not, wrap overflowing items inside a dropdown.
Here is what I have. It works - almost - because sometimes is doesn't ...
3
votes
1
answer
36
views
Wrap overflowing menu items in dropdown if there's not enough space
I have a Bootstrap navbar menu, and I'm trying to wrap overflowing menu items in a dropdown if there's not enough avaliable space. I have this solution - it works perfectly and does what I'm looking ...
0
votes
1
answer
36
views
How to display a daterangepicker in embedded mode
How can you display a double calendar with the daterangerpicker in embedded mode
I want to display it as the example presented here : https://bootstrap-datepicker.readthedocs.io/en/latest/markup.html
...
1
vote
1
answer
36
views
How to open dropdown from separate button in stackoverflow code snippet
Running code snippet using "Run code snippet" button and clicking "Open menu" button does nothing. It should open menu.
Menu is defined in other place in DOM and display is set to ...
0
votes
2
answers
80
views
How to open dropdown menu from outside button
Opening bootstrap dropdown menu from button inside table using
function xonclick() {
const dropdownButton = document.getElementById('settingsDropDown');
const dropdownMenu = document....
0
votes
1
answer
744
views
Bootstrap Modal error: "Uncaught TypeError: Illegal invocation"
I'm trying to dynamically render the content of this Bootstrap modal, but I keep getting this error of invocation. I'm starting to suspect that Bootstrap can't render a modalBody that has template ...