All Questions
Tagged with bootstrap-5 javascript
1,435 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>...
0
votes
1
answer
48
views
How to make only the top row of a Bootstrap column sticky while the bottom row scrolls away? [closed]
I'm trying to replicate a right-to-left (RTL) website layout using Bootstrap, and I'm running into an issue with the sticky behavior of a header.
Here’s what I want to achieve:
The is split into two ...
1
vote
1
answer
67
views
Boostrap dropdown into modal
My problem is when I click on the button to open the dropdown menu. The height of the modal-body is not increasing, instead the modal is hidden and I have to scroll into modal-body.
How I can make the ...
-3
votes
0
answers
40
views
Can i link another html file which stores info to be used in the other html file? [duplicate]
In my index.html i have images and when i click them they expand into modals (barely did it)
So each image consists of two parts
"Thumbnail"(<a><img...) + Modal for this image
...
1
vote
0
answers
69
views
Why does using element.scrollIntoView() change my layout sizes in my Angular app?
My app is using Angular Material Components as a component library.
To supplement for layout I am importing Bootstrap 5 utilities.
The problem is that when my scrollToTop() function is called in my ...
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 ...
1
vote
1
answer
101
views
How to dynamically change Bootstrap v5.3 primary color at runtime in Angular v17?
I am working on an Angular application that uses Bootstrap for styling. I want to allow users to select a theme color, and dynamically update the Bootstrap primary color (--bs-primary) at runtime ...
0
votes
1
answer
70
views
How Can I Reliably Hide a Bootstrap 5.3 Modal on Back Navigation in a Multi‑Page App?
I'm using a Bootstrap 5.3 modal as a preloader when a user submits a form in my multi‑page application. The modal shows while waiting for the server response and then the user is taken to a new page. ...
1
vote
1
answer
102
views
Form validation for text area inputs fails if user enters newline character only
I'm building a form using Bootstrap 5 custom form validation. The issue I'm having is that if a user clicks into a textarea input that requires a value, hits "enter" to create a new line, ...
0
votes
1
answer
91
views
Pagination Issue with Array in Livewire 3.x :Uncaught Could not find Livewire component in DOM tree
I'm working with Livewire 3 and facing an issue when paginating a user list. I’ve applied the WithPagination trait and set the pagination theme to Bootstrap, but the pagination links don’t update the ...
-1
votes
1
answer
94
views
Wrong ID is being returned when clicking button
product cardsI need a help of solving my below issues:
I have generated dynamically cards with javascript and try to get the id when product is clicked.The results what i Have done are:
1)when click ...
2
votes
1
answer
57
views
VS 2022 ASP.Net Core MVC Simple Bootstrap Menu Not Working
I have a simple ASP.Net Core 8 site created in VS 2022. I have installed Bootstrap 5.3.3, jQuery 3.7.1 using libman and copied the simplest Menu sample from GetBootstrap. When the screen width is ...
-1
votes
1
answer
100
views
Why doesn't my dropdown from React Bootstrap close
I'm trying to use a dropdown menu from React-Bootstrap and can't make it work. It doesn't close (and it's not vertical, only if I use CSS with display: flex and flex-direction: column)(I'm using 2.10....
0
votes
1
answer
43
views
how to I make a radio button which switches background color in bootstrap and js?
I'd like to make a idea note like bulletin board to use bootstrap and Javascript. So I make a input-group include send button, enter or click message add like a stack. But I don't know how to use when ...
1
vote
1
answer
30
views
Make Bootsrrap accordion wait for work complition before expand
Pressing on the accordion button, I'd likt to wait until accordion body will be computed, and just after this expand its content.
Otherwise expanding happens in several stages as appending new ...