Posts by João Diego Florencio • 126 points
15 posts
-
1
votes1
answer27
viewsA: recovering array with PDO
From what I understand you only need to bring a single line from the database. If that’s all, you could better limit your Query using WHERE or LIMIT 1. Another issue you can repair is that you are…
-
0
votes1
answer367
viewsA: Orange Push and Native React notification
There are some solutions for this. See: Long Polling Web Socket Push Notification on Android…
-
1
votes1
answer584
viewsA: How to delete multiple selected records in a Datatable Bootstrap using Javascript - Asp.net
I’ve done something similar, but instead of using the checkbox I created a selection by clicking on the line. One thing you can’t see in your code is where are the ID’s of the ones that match your…
-
1
votes0
answers73
viewsQ: how to handle a multiple file upload request and [Object Filelist]?
I’m trying to upload multiple files, but the request is sending a string: [Object Filelist] <file class="btn btn-default" name="fotos_empreendimento" accept=".jpeg,.png,.gif"…
-
0
votes0
answers103
viewsQ: How to handle POST request in the Standard that were sent as parameters?
Set a route this way in the API: $this->router->post('/logo', 'MinhaContaLogoController@adicionarLogo') However, my Client request sends a parameter in the URL under method POST:…
-
0
votes1
answer451
viewsA: View Angular + Json Ionic 3
If your Fortune Teller is returning a Json to you, then the correct thing is to turn the json into an object, so that you can interact on it. export class AgendaPage { users =new…
-
0
votes1
answer562
viewsQ: Error to generate APK in IONIC 3
The problem only occurs at the command: $ Ionic cordova build android Cordova build android. Android Studio project Detected [10:58:09] lint finished in 4.20 s ANDROID_HOME=C: Users diario Appdata…
ionic3asked João Diego Florencio 126 -
0
votes5
answers2126
viewsA: function to count Divs quantity
$(document).ready(function() { $('div').each(function(i, value) { if(i ==3) { $(value).addClass('teste'); } }); });…
-
0
votes1
answer170
viewsA: Click and pass url to php using ajax?
<!DOCTYPE html> <html> <head> <title></title> <script src="https://code.jquery.com/jquery-2.2.4.min.js"…
-
1
votes1
answer491
viewsA: Take JSON information and insert into the loop html using getJson
$.get("pagina.php", {"parametros": "valores", "parametros2": "valores"}, function(data) { var retorno = JSON.parse(data);//este retorno sera um array ou um object entao e so usar um loop for para…
-
1
votes1
answer1070
viewsA: Load DIV automatically with Ajax
$.ajax({ type:"POST", crossDomain: false, headers: {'X-Requested-With': 'XMLHttpRequest'}, url: " medicamentos.php?parametro="+(Variável), success: function(dados) { //load_modal("#Mload");…
-
0
votes2
answers77
viewsA: How to make the last two fields "teacher" and "enroll" only appear after selecting the option of the above field "Type"?
<html> <head> <script type="text/javascript"> function visible(name) { var mydiv = document.getElementById("d"); mydiv.style = "show"; } </script> </head> <body>…
htmlanswered João Diego Florencio 126 -
1
votes2
answers1753
viewsA: Find out where the user accesses my page
Use Html5, Javascript and Jquery to do geolocation reconnaissance of anyone accessing your domain. these links should help you: Using Geolocation with Html5 HTML5 Geolocation API (Geolocation) with…
-
0
votes2
answers258
viewsA: Bring PHP id in Jqueryui autocomplete query
$( "#cliente" ).autocomplete({ minLength: 2, source: function( request, response ) { /*esta requisição ira consultar somente o nome do cliente */ $.ajax({ url: '../php/search_clientes.php',…
-
1
votes1
answer157
viewsQ: How can I add paragraphs to a TEXTAREA TAG?
$("#text").on("focus", function(){ $(this).keypress(function(e){ if(e.keyCode == 13 | e.which == 13){ //this.value += '</p><p>'; document.execCommand('formatBlock', false, 'p'); } });…