Questions tagged as 'modal'

1
answer

Disable button and select in a modal

I have a problem I have a function which fills the fields of a modal what I want is that when $('#estatus').val(d[7]); is equal to 0 and 1 the select is enabled $('#estatus').val(d[7]); and button update data and when it is...
asked by 10.10.2018 / 18:10
1
answer

Modal is not shown in materialize (Omdb API)

I am using omdb api, it turns out that when I click on the link already created in the first request, it does not show me the modal for each movie (id) in specific. $(document).ready(() => { $('.modal').modal(); const API_KE...
asked by 01.10.2018 / 09:44
0
answers

Call Modal from myModal.php to my index.php

I have 1 Modal in the file called myModal.php. I want to call this file from the index.php without redirecting it to myModal.php, that is, the mode (myModal.php) is executed, remaining in the index of the page. I have tried with the code that...
asked by 28.09.2018 / 21:42
1
answer

Function of PHP to buy data against a table created with a FOR

I have a table in html of turns that is dynamically created with a FOR having as limiting the schedules that the doctors work and I need to create a SELECT in a modal with the available schedules but I can not find the way to compare the schedul...
asked by 20.09.2018 / 21:30
0
answers

How to implement a confirmation before executing an UPDATE

I have the following code: //APROBAR PAGOS MENSUALIDAD function aprobar_pago_mes() { global $db; $idusuario = ($_GET['id']); $sql = "UPDATE pagos SET status_pago = 'APROBADO' WHERE id = '$idusuario'";...
asked by 18.09.2018 / 21:36
0
answers

Hide results minus the selected SELECT

Good the other day a colleague from here helped me to show in a select the references that there are of a product in a select and those available and those that came from other references to hide them. (This is editing a record) All this is w...
asked by 18.09.2018 / 09:02
0
answers

Take the value of a select in a modal and a query

a few days ago a partner helps me to transfer the data from a table to a modal, in them there is a select that receives the status according to the value they have and they are selected. Well but now it is more complicated, I carry the name that...
asked by 24.08.2018 / 12:15
0
answers

Take the value out of an input id

I am passing data from a table to a modal to edit it, all this happened: So I send it to the modal: <td class="otrotdfgaz" id="Producto<?php echo $res['pedID']; ?>"><?php echo $res['producto']; ?> <?php echo $res['ali...
asked by 29.08.2018 / 11:18
1
answer

datepicker problem and modal window bootstrap

I have the following problem and I have not been able to solve it. I have a bootstrap modal sale. Inside the one an input where the date picker is loaded. It works well, but when selecting a date, it is not loaded in the input. I have tried ever...
asked by 10.08.2018 / 21:36
1
answer

Correct way to open HTML in Modal BootStrap

I have the following, I have 4 html files with different information that I need to show as necessary, I already have this done and it works but I do not know if it is the correct way or it can be improved, I appreciate your help Index.php...
asked by 25.07.2018 / 01:29