Posts by Reculos Gerbi Neto • 134 points
20 posts
-
0
votes1
answer34
viewsA: Editing day with Angularjs?
You must convert the date to ISO format: yyyy-mm-dd agenda.data = agenda.data.split('/').reverse().join('-');
-
0
votes2
answers12523
viewsA: Problem with Indentation
To set indentation spaces for both new and old files, for 2 in this case ("editor.tabSize": 2) you must insert the following code in the configuration file: "[typescript]": {…
visual-studio-codeanswered Reculos Gerbi Neto 134 -
2
votes1
answer94
viewsA: How to use HTTP GET APIS?
Voce must use Xmlhttprequest (ajax), or fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) and pass the url that returns the json in the request. However, the correct way…
-
3
votes1
answer268
viewsA: Using one System variable in another - Angular IONIC
If I understand what you need, Voce can configure the routes for parameter crossing between components using a service. In the route parameters, you must transmit only the data you want reflected in…
-
1
votes1
answer1701
viewsQ: HTTP Basic Authentication with AJAX and php
I am trying to do a simple password authentication using HTTP BA. follow the codes: login.php <?php if(!(isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW']))){…
-
0
votes1
answer47
viewsA: How do I put a responsive loading
If I understand what you need, you can put a message before making an ajax request as shown in the following link: Display a Loader while processing ajax…
-
0
votes1
answer271
viewsA: Undefined index in value pass with AJAX
I was able to solve the problem using a Formdata object by adding an index to the object that I would like to move from JS to PHP with the "append()" method. and then passing the Formdata object…
-
1
votes1
answer271
viewsQ: Undefined index in value pass with AJAX
I am trying to send binary Blob data by Ajax to upload via PHP. However, I am unable to access $_GET. Returns an error saying undefined index: responseText : "No imgagem found" when I comment the…
-
1
votes2
answers82
viewsA: SQL Updating Wrong Value
RESOLVED! I solved it in a much simpler way than the one I posted! follows the result: UPDATE CPSCli set FimValidPre = LAST_DAY(FimValidPre) LAST_DAY returns the last day of the month with the full…
-
0
votes2
answers9463
viewsA: Mysql query error - Warning: mysqli_fetch_array() expects Parameter 1 to be mysqli_result, Object Given in
Voce should run the Query... in your case the mysql_fetch_array is coming empty as the query was not executed. remember to close the connection after the query. example: $query= "SELECT id, tipo,…
-
0
votes2
answers82
viewsQ: SQL Updating Wrong Value
I am creating a QUERY to change every day of the dates registered in the BD to the last day of the month of that record... what happens is that when I play the QUERY selecting a record in the month…
-
1
votes1
answer93
viewsQ: Hibernate no Excludes
Good night, you guys... I’m learning hibernate and I had a problem: I was able to insert, retrieve the BD data... I had a setback that I fixed by adding the following command line in the execution…
-
1
votes1
answer440
viewsQ: Upload Image in Blob Format
Good morning! I am trying to send binary Blob data by Ajax to upload via PHP. index.html: document.getElementById("btnSave").addEventListener("click", event => { canvas.toBlob(function(blob){ var…
-
0
votes1
answer232
viewsQ: WEBCAM without Flash
Guys... I’m trying to take a photo with a webcam... I’m relatively new in Javascript and I’m taking a choir! Follows my code: //função para iniciar a camera function startCamera(){…
-
0
votes0
answers45
viewsQ: White First Page in Adobe
I am using FPDF class v1.6 to generate reports. It turns out that when I Gero the Pdfs, in the browser appears right. When I open from Adobe Reader, the first page appears blank only with a logo on…
-
0
votes0
answers35
viewsQ: Fill in only one field
I have 6 filters in a form... Only one filter can be filled. I’ve tried using a XOR, using a flag, but not the right one: // rgn20180711 TrixDes : inclusão de campos que permitem buscar o codigo…
-
0
votes1
answer104
viewsQ: Ajax does not enter Success
And I’m having a hard time in Ajax. I have the following: beforeSend: function () { $("#btnEvniar") .prop('disabled', true) .click(JaClicouProc(3,this)); }, success: function (resultado) {…
ajaxasked Reculos Gerbi Neto 134 -
0
votes0
answers41
viewsQ: Problem with Logic Listing with 3 information
I am receiving from the database several clients who have contracts and each contract of these has several documents... how can I list this using vectors in php? 8 years since I was away from the…
-
0
votes1
answer80
viewsQ: Message with Delay in Jquery
I have the following code: if(oper == 1) { $("#op" + iddoc).html("<input type='button' onClick='AddExcDocCPS(\"" + idcontrato + "\", \"" + iddoc + "\", 0)' value='Excluir'…
-
0
votes1
answer56
viewsQ: Infinite alert with . Focus()
Why it keeps giving Infinite Time when I try Focus() in an incorrectly filled onblur field? if(ret = TstForDat(wCampo, "")!=""){ alert('Data Incorreta! Favor preencher a data corretamente.');…
javascriptasked Reculos Gerbi Neto 134