Questions tagged as 'modal'

0
answers

Error closing modal with JS

I have the following modal: <div class="modal fade" id="modaladdCuota" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog modal-sm" role="document"> <div class="modal-content">...
asked by 25.05.2018 / 23:37
0
answers

Edit table with Modal

Good I have to modify a system in which I have to be able to edit a table the code is the following I want that there will be a modal with the information of the chosen table and to be able to edit it with ajax so as not to reload the page, I ha...
asked by 11.05.2018 / 22:18
0
answers

ng2-opd-popup does not recognize bootstrap

I'm working with angular cli v.5 and integrate the ng2-opd-popup library to use modals, my problem is that modal elements do not recognize bootstrap4 stylos I hope someone can support me on how to fix it. greetings and thanks. I leave you the mo...
asked by 07.05.2018 / 21:24
0
answers

How to load a modal in Asp.Net?

I am working with Asp.Net and Bootstrap. I have: a Button, a TextBox and a Label, I give a value to the TextBox I press the button and I add that value + 2, it shows it in the Label. Up there all good. But if that number is less than 0 I want me...
asked by 22.04.2018 / 02:18
0
answers

Problem when starting modal for the second time

I have a button that calls a function, and opens the modal at the same time. The first time I do it, it does it well but the second time I run the button, I see this error in the console:    Type error: can not read property parentnode of nul...
asked by 02.04.2018 / 14:54
0
answers

how to refresh a datatable of primefaces after a click?

I have the following form <h:form id="form"> <p:commandButton icon="ui-icon-clock" styleClass="element-button green hacia-izquierda" style="margin-right: 5em; margin-top: -1em;" value="Horario" update=":form:horario" oncomplete="PF(...
asked by 04.04.2018 / 17:29
3
answers

Stop video when closing modal

How do I make the video stop playing when I close the modal? I can not find a way to do it, I tried several codes and nothing // Get the modal var modal = document.getElementById('myModal'); // Get the button that opens the modal va...
asked by 02.03.2018 / 03:21
2
answers

modal does not respond to submit

I have the problem always at the beginning that I start creating a modal when sending the data, the previous occasion changed jquery and it worked, but now I copy and paste the code of a modal that works by calling it with jquery. I made the...
asked by 31.01.2018 / 19:43
2
answers

TypeError: $ (...) .dialog is not a function

My error is as follows: I have a modal window that works, that window has the following code: $(document).ready(function () { $('.accesori').click(function () { var id = this.getAttribute('id'); //alert(id); $.get(...
asked by 12.01.2018 / 13:10
1
answer

Validate start of modal with Jquery

I have a page HTML , which should allow me to enter information from a modal. What I need is that before launching the modal, the user must select two options otherwise it will not start. I put the following code as an example:...
asked by 08.01.2018 / 20:52