Posts by Dih Centioli • 57 points
9 posts
-
0
votes2
answers155
viewsA: Save to Checkbox Database
So... puts a class in the checkbox, same for everyone and recovers the value (id). In javascript do so when sending to php via post. <input class="form-check-input m-0 dias_selecionados"…
-
1
votes2
answers68
viewsA: Join a cell from an html table [closed]
Puts a Count or sizeof in your array to know how many records you have, so you will only display the total when the array is read to the end... example: I don’t know if it’s all right, but that’s…
-
-1
votes1
answer459
viewsA: How to send form contact data by email to JS, or HTML5 or PHP
My recommendations are as follows. If your form is in HTML, show, you can send by javascript to php and PHP sends by email. Come on... Retrieve HTML information and post via javascript. $.post({…
-
0
votes1
answer43
viewsA: Javascript - Download filename different from the original (want equal)
This is the solution to the problem... a.download = response.trim(); You have to put Trim in the return of javascript. For the ignorant on duty, it was worth denying.…
-
-2
votes1
answer43
viewsQ: Javascript - Download filename different from the original (want equal)
Good afternoon, gentlemen, all right? I have a file I Gero on. XLS in php and ask to download in javascript, IE, I file in php and it saves the file in the folder and return the name of this file to…
-
0
votes3
answers103
viewsA: Disable button via php/jquery/javascript
I do it in many ways. You can do via PHP, if you already return the result of SELECT and realize that the value is correct, you can already put the disabled in the button Example in PHP: Return the…
-
0
votes1
answer89
viewsQ: PHP to Service by CURL
I’m trying to send PHP data through CURL to the Protheus service, which receives a string. I’m having trouble referencing the data to the variable. Example in PHP: $response2 =…
-
0
votes1
answer68
viewsQ: Recover URL id without losing any parameters - PHP
Good morning, gentlemen. It may not be a good practice, alias, it’s probably not, but I’m passing some parameters in my URL by javascript to recover in PHP. I’m passing like this in javascript.…
-
0
votes1
answer470
viewsQ: File Upload Javascript + php
Hello, I need to send some files via post to handle in PHP. However, I want to post via Javascript, passing other parameters in Ubmit and be able to handle in PHP. The way I’m doing, I don’t get any…