Skip to content
Advertisement

Tag: twitter-bootstrap

Can’t load popper.js with Laravel Mix

I recently upgraded to bootstrap 5 and my tooltips/popovers in my application stopped working. I have the following error in console: My understanding is that my Laravel Mix / webpack is failing to include popper.js in its compilation? I don’t understand why it is looking for popper.js.map, shouldn’t everything be compiled into a single file (app.js)? In my webpack.mix.js I

Using pure javascript and Bootstrap : How to display a modal dialog confirm response from fetch operation from JSON API

Is it possible using bootstrap and pure javascript to display a modal dialog after a fetch request is successful or also if it the fetch request failed? Form submission The HTML Form Answer You probably wanna use this inside your request callback: Here is an example of what bootstrap modal can look like: You can see more about bootstrap modals

filter antd table according to its columns

First of all english is not my mother language so there might be mistakes. I started react with hooks since everybody said its easier, here i have antd table and a button (bootstrap 5 modal), this modal contains 6 buttons (id, title, firstname, lastname, Choose all, confirm your selection), my point is user chooses from ID, Title, firstname, lastname, when

Bootstrap collapse/expand multiple targets with different collapse states

In the bootstrap docs, there is an example of how to toggle single and multiple targets, see https://getbootstrap.com/docs/4.0/components/collapse/?#multiple-targets. When clicking “Toggle the first element” and then “Toggle both elements”, the state of the two elements are mismatched e.g. one collapsed the other not. How can I achieve that both/multiple elements are collapsed/shown when clicking “Toggle both elements” no matter what

disable click button on submit

I try to update this jquery script in pure js (with bootstrap 5). The goal is to not allow someone to click twice on the payment button. Sorry I am not very strong in js. My goal is to have the same reaction that the jquery script. I tried to follow the process on this page : Disabling a button

Advertisement