Most voted "modal" questions
Modal is a feature where an element (usually windows or dialog boxes) interrupts all other executions of the application/site, until a certain action is performed in this element.
Learn more…324 questions
Sort by count of
-
1
votes1
answer227
viewsModal Jquery/ Materialize not working in index.php
Hello! I am developing a modal of acceptance for cookie terms. I was able to solve cache storage through php. However, I could not see why the modal does not appear in the layout when the user does…
-
1
votes1
answer518
viewsHow to use this Modal bootstrap more elegantly?
I don’t know if the title is appropriate, but I’ll explain: In the example below I have a confirmation modal that can be called by several buttons and depending on the button clicked I take an…
-
1
votes1
answer110
viewsHow do I direct the link to the anchor and close the modal at the same time?
I have some links in a modal made in React that go to anchors of the page that the modal was opened. I am using href for the anchor and the onClick event to close the modal. Example: <a…
-
1
votes0
answers105
viewsPassing PHP-MYSQL values to Modal
I have the following problem, I need to send to Modal data coming from the Database, See below my screen and my code. <thead> <tr> <th>Foto</th> <th>SKU</th>…
-
1
votes1
answer58
viewsHow to stop playing a video from an iframe when closing modal?
Well, I’m beginner in web pages I got the code below but all the efforts I try I can not make a universal code to close all kinds of iframe close along with the modal, if anyone can help I would…
-
0
votes2
answers1568
viewsHow to display a modal using the c# and bootstrap button?
If you use the <button type="button" data-toggle="modal" data-target="#ConvenioOk">Teste </button> modal opens. But I have to use the C# button due to the event. The button calling the…
-
0
votes1
answer154
viewsmodal multiple > Bootstrap/JS/PHP
I used this link as a reference for creating my Modal: Open Multiple Bootstrap Modals. After opening a modal and clicking outside the modal box, when we return to page, an automatic style of…
-
0
votes1
answer3075
viewsOpen Modal Bootstrap from code-Behind
I need to open a modal when the password or user are incorrect, it will be on Else .. but does not open the modal protected void bntLogar_Click(object sender, EventArgs e) { Registrar criptografia =…
-
0
votes2
answers3670
viewsHow to pass value within the modal with PHP
I am trying to create a delete button for a table. Deletion will be ugly in two steps: 1. click on the bin 2. confirms I believe I’m getting confused when passing the value of $id to modal. <html…
-
0
votes1
answer2028
viewsButton action after clicked - jQuery
I have a button that when clicked it closes the modal, in fact it does an action with CSS doing the div disappear, just getting the button to be clicked again and open the modal. However I am not…
-
0
votes0
answers32
viewsError loading partialView
I have a curious problem. I created a page that lists records and it has two links, one to delete and the other to display details. Both call for a modal. Each modal is a modal partialView. To…
-
0
votes3
answers249
viewsDisable button in modal window using Jquery
I have a modal window with a button, and I would like it to be disabled when pressing the button (a tag), and present "Wait..." Look at my code: //#idDivModal4 -> modal //.btn-enviar-lembrete…
-
0
votes1
answer40
viewshow can I create the modal boxes by placing various different themes in the boxes
<!DOCTYPE html> <html> <head> <style> /* The Modal (background) */ .modal { display: none; /*…
-
0
votes1
answer141
viewsModal in the controller
I am working on a page that has an Order model and there is a button that when pressed opens a product modal, with a table with all products. As I click on a line a product is added to the…
-
0
votes0
answers234
viewsHow can I apply bank information to modal?
Well, I’m working on my computer CBT, and its purpose is to control the output of students. I managed to make registration system, deletion, I am already working on the edition, however I would like…
-
0
votes1
answer123
viewsModal plugins are not working on Wordpress
I have a page in Wordpress, installed several plugins for modal display at home but none of them is displaying modal. I tested on another wordpress page that I have and worked normal. What may be…
-
0
votes2
answers204
viewsopen modal with link_to
Well, I’ve never done and I’ve searched a lot of sites and I can’t find anything that does what I need. I need to make a modal appear from a link_to, the person when clicking on the link_to opens…
-
0
votes0
answers223
viewsForm inside modal window does not align + Thymeleaf + Spring Boot
Good afternoon! I’m having trouble rendering a modal window using Thymeleaf. The purpose of Modal is simply to show a form with the details of the Service, without having to redirect the user to…
-
0
votes1
answer340
viewsWindow(s) Modal opening at the same time or at different times
I need to make a system that opens "Modais" while browsing the site, informing some things, windows on the right side at the bottom and other windows on the left side at the bottom, with…
-
0
votes0
answers36
viewsLocation in php not working
Guys, I was watching a video lesson here very simple, prof put a code in php in html, I put exactly what it is because and it’s not working at all, I’ve tested in other browsers and tbm didn’t work,…
-
0
votes1
answer131
viewsModal when accessing the site
Could someone please pass me a simple jquery code? I only need a modal ( div ) to appear when the site is accessed and contains a "close button".
-
0
votes1
answer107
viewsReturn code from a record to a code field in the view via a modal
I wonder if someone could show me how I could open a modal to select a record in a table and return the code to a view text field so I can use when saving the form data, I am using the Framework…
-
0
votes2
answers866
viewsScroll bug when opening a modal on top of another
When I click on Menus link http://www.escolatarsiladoamaral.com.br/home (goes to the restricted area, login: admin and password: admin) it opens a modal usually, with the scrolling and everything,…
-
0
votes2
answers1056
viewsAssign link to a modal bootstrap window
How do I link to a modal window? In case I want to send this link, the user by clicking on the link already open direct the modal. How do I do that?
-
0
votes0
answers70
viewsAngularjs new value does not arrive in directive
I have the following directive that builds a modal. Arquivo: login.component.js (function() { 'use strict'; var app = angular.module('myapp'); app.directive('loginComponent', ['loginService',…
-
0
votes1
answer806
viewsRedirect with javascript
I need to redirect when the modal bootstrap loses Focus. In my code the modal doesn’t open because it redirects off screen. I need something more or less like Alert(). As soon as you click OK or…
-
0
votes0
answers906
viewsPass Controller data to a modal in the Laravel 5.5 view
I’m trying to pass data from a Controller to a Modal in the view. In the view I have this code populating a datatable as soon as the page loads: .... @foreach($exames as $exame) <tr>…
-
0
votes2
answers893
viewsModal Bootstrap for changing records
Good night, you guys!! Would anyone know a basic example on how to create a modal bootstrap for changing records? I have an on-screen listing that has a link to call the change modal. The call is…
-
0
votes2
answers394
viewsSend URL parameter of a table to a modal
Good morning friends, I have a question to send URL parameters as if it were a; <a href=\"pagina.php?id=$id\" >enviar</a> Only instead of sending to another page, I would like to send to…
-
0
votes0
answers165
viewsPie Chart inside modal
I’m putting together a page with a link that opens a modal. In this modal I want you to open a pie Chart, but the modal opens in white and only after I refresh the page with the modal open does the…
-
0
votes1
answer108
viewsHow to make edit button work in a modal window?
I don’t understand how to make the "Edit" button work within the modal... Screen (clicking on details opens this modal where the edit button has): My modal: information contained within the modal:…
-
0
votes1
answer108
viewsThymeleaf hide button
I have a single modal which I call in two pages. I want the button ALTERAR CLIENTE appears in the modal of page "A" and on page "B" this button disappears. Like I said it’s the same modal for two…
-
0
votes3
answers2210
viewsHow to display the value of a variable in a modal bootstrap with PHP?
I have a form which makes a calculation, inserts it into the database and returns the value through a alert. I would like to replace this message from alert by a modal. HTML <form method="post"…
-
0
votes0
answers62
viewsCreate modal with the contents of the Code tag
I’m developing a work for the college and to present I made a simple html page. The page has a div with the tag code, where I play a json file with more than a thousand lines. I would like to create…
-
0
votes2
answers1547
viewsHow to open modal with results on the Submit button?
Well, excuse the question. I don’t know much in Javascript, I wanted to know how I show the results of my form inside the modal, I’m usually clicking and is redirecting to another page. Follow the…
-
0
votes2
answers123
viewsAngularjs - How to close a modal $uibModal parent through a modal $uibModal daughter?
I use Angularjs in the project. I have a modal that opens from a button of the parent modal. I want to insert a cancel button in the daughter modal, which will close the two modals.
-
0
votes0
answers734
viewsCreate search box in modal Bootstrap
I wonder if it is possible to create a modal window to search for information and select it for a form. For example, when you click on the magnifying glass open a modal with all the individuals…
-
0
votes2
answers100
viewsHow to show the date/time in a modal window?
I have a code below but would like to display the date/time in a modal message box. using System; public class Program { public static void Main() { Console.WriteLine("Hello World");…
-
0
votes1
answer487
viewsSend a value to modal
I have a table with several employees and on it counts the plate of each hum. I created a modal that when the manager clicks on the employee name is called a modal where it is possible to enter the…
-
0
votes0
answers292
viewsGet table row ID to load Modal for tender
Good afternoon Personal, After all this research and not being able to understand how it works, I’m trying to solve a problem that I’m having. I am creating a register of service providers, but I…
-
0
votes1
answer31
viewsHow to put a small modal bootstrap on another larger modal with the fade working properly on the two backgrounds?
I have two modal bootstrap , the first one a modal-Xl, the second one a modal-Sm that is smaller , they normally open. But the first of the effect of fade straight, already when I open the second…
-
0
votes3
answers6319
viewsPassing a PHP variable to a Bootstrap modal
I have a report (table) containing user registrations using the Bootstrap framework. Next to each row of record there is the Edit option. By clicking on this option the action would be to call the…
-
0
votes1
answer88
viewsJavascript - Run multiple times
Everybody, good afternoon, everybody I have a JS + CSS code to open an image in normal size through a reduced image. I was able to do this with a single image, however when I put a looping in php,…
-
0
votes1
answer41
viewsWhere to place a Modal "const" of the Material UI inside a Class in Reactjs?
I have a problem of not knowing where to put the const "const [open, setOpen] = React.useState(false);" of a Modal from the Material UI, within my Generatereport class. When I put " const [open,…
-
0
votes0
answers31
viewsHow to show result of a modal search
I’m new to Frontend, I’d like to click on a button, show the user’s feedback in a modal. I already have the page showing the results, this working ok I would like to show now in a modal window to…
-
0
votes0
answers120
viewsModal cookie doesn’t work?
I built the following code so that it would preserve a cookie from opening and closing the modal, so that it would not be displayed in a 24-hour period, but it does not work for some reason that I…
-
0
votes1
answer826
viewsModal Bootstrap data insertion with PHP OO
I am developing a client registration screen with PHP OO but due to my inexperience I am finding it difficult to list client data within a Modal Bootstrap. First, I have this list of Client Objects…
-
0
votes1
answer451
viewsuse bootstrap override modal window
Good morning, my friends. I’m using a button to call a modal window bootstrap...so far no problem. Inside this modal window I have another button that calls a second modal window...works perfectly.…
-
0
votes1
answer210
viewsJquery and Metismenu and Modal conflict
I’m having conflict with Jquery and Metismenu and Modal(bootstrap): if I ref. so the modal works, but the dropdown menu does not work: <script…
-
0
votes2
answers838
viewsProblems with Modal Bootstrap and Deletion of Records
I have a page with n records and, for each of them, there is their respective Delete button. By pressing it, a modal bootstrap is opened by asking whether or not to confirm the action. When…