Posts by italo gouveia • 34 points
4 posts
-
-1
votes3
answers377
viewsA: Onclick to display result
You can try something like this: $("#idBotao"). onclick(rest of function), I believe only this change will suffice.
-
0
votes2
answers38
viewsA: Default of HTTP request
From what I understand you apart from fetching the data is updating a field in the backend, is this or got it wrong ? if this is the case you can use the PATCH method that is used in cases where a…
-
2
votes2
answers481
viewsA: Cors error at angle 6
Probably the problem is in your backend, which language are you using ? You need to set the header: 'Access-Control-Allow-Origin' with the value '*' in your backend, it varies from language to…
-
0
votes3
answers636
viewsA: Average all records in a table and update column in MYSQL
You can use a precedent that updates the table based on the average of the records, to calculate the records you can use the avg function, I will leave below two links about procedures and avg:…