Questions tagged as 'modal'

2
answers

Open modal entry

I want to open the modal while loading the page jQuery(document).ready(function(e) { jQuery('#mymodal').trigger('click'); }); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> &...
asked by 04.01.2019 / 03:43
1
answer

Open a modal after a Keypress event?

Hello Programmers I am working on an mvc project in an electronic entry to be more specific, I am trying to validate that if an employee is not authorized to enter an area the system generates a modal with the message of UNAUTHORIZED ACCESS atta...
asked by 23.03.2018 / 21:05
2
answers

Darken background when running a boostrap modal?

Good afternoon developers I have been researching in several programming forums but I have not found a satisfactory solution, what I want is that when my Pop-Up (modal) is executed, the main page is dark so that the modal highlights more attache...
asked by 26.03.2018 / 21:58
1
answer

How to make data-target of a button towards an existing class

How do I link the modal class applied in H2 to the image inside the button? I need to click on the image to display the modal like the H2 does. You can see the complete code with css and images in this link: link Thanks in advance....
asked by 27.11.2017 / 20:43
3
answers

How to load HTML elements dynamically within a modal?

I am implementing several modal windows through Bootstrap. One for each different thing. I have done the test to load different data in the same modal window. I explain ... I have one to pick up favorite users, another for followers and an...
asked by 12.04.2017 / 01:02
2
answers

Clean Inputs and TextArea of a form in a Modal of Bootstrap

The code of the table with the buttons is as follows: <table class="table table-striped"> <thead> <tr> <th>Fecha</th> <th>Título</th> <th>Estado</th>...
asked by 27.10.2018 / 18:26
1
answer

Modal opens whenever you click, even if you have the eventListener in an image

It's a simple thing that is taking me a lot of time. I want to open a modal when clicking on any product image: This is the HTML of the page: <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head...
asked by 21.11.2018 / 18:35
1
answer

Error loading styles and selecting elements of a modal dynamically?

I am loading a data series with PHP in a table from the Database and according to the selected data I am opening a Modal that includes sections to add images and others. Selecting the first data in the list opens the modal and allows t...
asked by 17.05.2018 / 20:54
1
answer

How can I destroy a summernote?

I have a modal where I launch a Summernote, however I want that when leaving the modal the Summernote is destroyed since the following can happen: And if I remove the content with $ ("# descriptionA"). code (""); it does not remove th...
asked by 16.11.2017 / 01:42
1
answer

Pass several data to modal

I am trying to send several variables to a modal but the question is that it only sends me 2 out of 5 variables (variable 1 and 5). Could someone throw a cable? Thank you very much With this I call the modal <a data-toggle="modal" data-i...
asked by 17.08.2017 / 11:08