Posts by Francisco • 103 points
10 posts
-
0
votes0
answers37
viewsQ: Create temporary table with another table structure while maintaining the primary key constraints
I am layman still in postgresql and would like someone’s help. I created a temporary table (as mentioned in the postgresql manual): CREATE TEMP TABLE IF NOT EXISTS s_agendatemp (like s_agendamento…
-
0
votes1
answer32
viewsQ: Simulate mysql Join with a php array
Good afternoon, everyone. I have a two-dimensional associative array with the following data: [0] => array ( "numArea" => '74', "quant" => 2 ) [1] => array ( "numArea" => '7', "quant"…
-
0
votes1
answer45
viewsQ: Datatables displays error while trying to load json file
Can anyone help me? I’ve researched several topics here in the OS but still can’t solve my problem. I searched the database via ajax to check the available schedules of some classrooms. I generated…
-
1
votes2
answers294
viewsQ: upload with ajax and formdata displays error
I’m trying to send a file to the server with ajax and php. I’ve tried variations with people who had doubts on the same subject but nothing works (I’m sure I’m doing something stupid). I have a form…
-
0
votes1
answer451
viewsA: use bootstrap override modal window
I was able to solve the problem with the code below: $(document).on('hidden.bs.modal', '.modal', function () { $('.modal:visible').length && $(document.body).addClass('modal-open'); }); With…
-
0
votes1
answer451
viewsQ: use 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.…
-
4
votes1
answer14054
viewsQ: mysql Delete all records from a table except the first
Does anyone know where I’m going wrong? or if it’s possible to do this? I wrote the query like this: DELETE FROM reservas WHERE ID NOT IN (SELECT ID,IDORIGEM FROM reservas WHERE ID='387' and…
-
1
votes1
answer318
viewsQ: Enable buttons in columns of a table with jquery
I need to enable the row buttons of a table whose contents in the first column are equal to the value I have in a variable. I’ve tried many ways but it doesn’t work Follows the code:…
-
3
votes2
answers1863
viewsQ: Disable form Submit button inside a modal bootstrap window
I have tried several ways to disable the Submit button of a form that is inside a modal bootstrap window, but I was unsuccessful. I have already researched the documentation but I have not found it.…
-
0
votes1
answer76
viewsQ: get the id of a dynamically generated tag a
Good morning. Can anyone tell me how to use jquery to capture some data from a tag within a dynamically generated table? In fact everything within the div "showPesqReserva" is generated dynamically.…