Posts by Junior • 81 points
9 posts
-
0
votes1
answer77
viewsQ: Problem to access modal-footer in modal
I have the following modal with the following form inside and css. $(document).ready(function() { $('.modal').css('overflow-y','visible'); }); .container { max-width: auto; margin: 0 auto;…
-
0
votes1
answer51
viewsQ: Cancel or repeat alert in js
I have the following js to display an alert. function session_checking1() { $.post( "./alertaposicionamento2", function( data ) { if(data.status == "-1") { alert('Tem posicionamento em atraso do…
javascriptasked Junior 81 -
1
votes3
answers50
viewsA: Error while uploading files
The problem was sending the data on ajax. To solve my problem, I changed the js. Thus the variable arquivo is no longer sent as string, but how file $(document).ready(function (e) {…
-
0
votes3
answers50
viewsQ: Error while uploading files
I want to upload files, where I insert the file name into the database and the file into a folder on the server. I’m trying this way: HTML: <form class="form5" method="post"…
-
0
votes1
answer104
viewsQ: Dynamic textarea when editing form
I’ll try to explain my problem. Initially I consult the information, where the textarea automatically adjusts the size according to the text that returns from the database. I’m doing it this way:…
-
0
votes2
answers49
viewsQ: Show hidden text when switching lines
I have a problem with my checkbox css. Checkbox code: .funkyradio div { clear: both; overflow: hidden; } .funkyradio label { width: 100%; border-radius: 3px; border: 1px solid #D1D3D4; font-weight:…
-
-1
votes1
answer95
viewsQ: Use function in datatables
I have this function of form when placing the price, automatically replaces the zeros for the values placed and keeps the fixed point: $(function() { $('.Preco2').maskMoney({ decimal: '.',…
-
0
votes2
answers54
viewsQ: Insert from a table with for
I have the following html: <?php $j=0; while($rows_cursos1 = mysqli_fetch_array($resultado_cursos1)) { ?> <tr> <td style="display: none"><input type="text" name="NomeUtente[]"…
-
0
votes1
answer142
viewsQ: Show success alert with sweetalert2
When saving the form to the database I want to show a success message to the user. I am trying to use sweetalert2, but it’s not working. I already have the libraries: <link rel="stylesheet"…