Posts by Ezequiel Tavares • 351 points
35 posts
-
-1
votes1
answer27
viewsQ: Loading in Angularfireauthguard
Some way to implement a Canactivate loading in Angular 11? import { NgModule } from '@angular/core'; import { AngularFireAuthGuard, redirectUnauthorizedTo } from '@angular/fire/auth-guard'; import {…
-
0
votes2
answers132
viewsQ: Convert JSON to Array
I have the following JSON: let result = {"0":4,"10":4,"30":6,"60":9,"90":12,"120":15,"150":18,"180":21} I need to convert to Array in the following format:…
-
0
votes0
answers31
viewsQ: Create an array for Chartjs with Firestore + Angular 9 data
To popular a precise monthly/annual data chart that the Array is grouped by date. Data from the Firestore: this.chartsSrv.chartGeral().subscribe((snapshot) => { snapshot.docs.forEach(doc => {…
-
0
votes1
answer419
viewsA: Product table in Ionic 3 - Css
your-html file. <ion-header> <ion-navbar> <ion-title>Seu Título</ion-title> </ion-navbar> </ion-header> <ion-content padding> <ion-grid no-padding>…
-
0
votes0
answers15
viewsQ: Create a user without current Logout - Firebase
When I am logged in to the App and create a new user automatically the active user becomes the newly created one. Some solution with Angularfire to get around this? collaborator.ts colaborador:…
-
0
votes1
answer157
viewsQ: Create array with Firebase return data
You would need to create a new array from the return of the Firebase image URL The newImgList array receives nothing. task ts. imgList: []; newImgList: any = []; constructor(...) { this.tarefaId =…
-
0
votes1
answer29
viewsQ: Calback not working Swipeout in Framework7
page commands.html <div class="list"> <ul> <li class="swipeout deleted-callback"> <div class="item-content swipeout-content"> <div class="item-inner"> <div…
-
1
votes1
answer69
viewsQ: Perform 3 tasks with setInterval
I have 3 querys and I need that every time setInterval trigger it execute a query at the end return to the first. setInterval(function () { var query1 = "select * from weather.forecast where woeid =…
javascriptasked Ezequiel Tavares 351 -
1
votes2
answers783
viewsQ: Check return $.getJSON
I need to know if you returned anything from the database. Any suggestions? var url = "agenda_salao_pesquisa.php?dataReserva="+busca; $.getJSON(url, function(result) { //preciso saber se veio algo…
-
1
votes2
answers200
viewsQ: TV style information bar (similar to <Marquee>tag)
I need to make an information bar style of the TV channels that keeps passing from right to left. I have the text that comes from the database and as it is a long text I would need it to be looped.…
-
0
votes1
answer2576
viewsQ: PHP Fatal error: [] Operator not supported for strings in
error started to appear PHP Fatal error: [] Operator not supported for strings in $data = date('Y-m-d'); $q = mysqli_query($con, "SELECT * FROM agendasalao WHERE dataReserva >= $data ORDER BY…
phpasked Ezequiel Tavares 351 -
0
votes1
answer335
viewsQ: Prevent download Twebbrowser Delphi
I have 1 Webbrowser that when loaded a URL he must load an image according to a query in the BD. It happens that the first time the request is made it opens the screen to save this image, if close…
delphiasked Ezequiel Tavares 351 -
0
votes0
answers417
viewsQ: Save image Webbrowser Delphi
I get an image from an IP camera and display in a Twebbrowser I would like to save that image in a folder. The source code for the generated HTML is this: <!DOCTYPE html> <html>…
-
1
votes1
answer241
viewsQ: Receive JSON string via Socket
I’m getting a stream with JSON strings and I’m showing on a Tmemo. It happens that I am not able to process the JSON correctly because not always comes the same amount of characters from the server.…
-
2
votes1
answer330
viewsQ: Concatenate Sqlquery loop result
I have a loop that scans a table, I need each row a variable type string be incremented with the respective records. Use FDQuery and FDConnection. Follow an idea of what I need var linhas : string;…
delphiasked Ezequiel Tavares 351 -
0
votes2
answers502
viewsQ: Dynamic component name Delphi
In jQuery we can make reference to an element of the form below: var tipo = "B"; $("#campoTipo"+tipo).val("Teste"); which would be the same as: $("#campoTipoB").val("Teste"); I need in Delphi,…
delphiasked Ezequiel Tavares 351 -
1
votes3
answers246
viewsQ: Numeros javascript comparison
Starting a draft for parking charge I need to know the best way to calculate the values based on the amount of minutes. So it’s not working, I believe I have errors in logical operators (I’m not…
javascriptasked Ezequiel Tavares 351 -
1
votes1
answer1290
viewsQ: Help with php_printer.dll
Use PHP 5.5.12 and downloaded the compatible dll version and when opening the page nothing happens and also no error appears. I restarted Wamp and added the corresponding lines in php.ini php.ini…
-
4
votes4
answers9035
viewsQ: Mask Car plate in jQuery
I did not find on the Internet a mask in the format BBB-1234 for car plates, the ones I found only validate when the field loses focus and even then only say if it is valid or invalid. You’d need…
-
2
votes2
answers453
viewsQ: Focus on the last Jquery character
I need when the field gets the focus, the cursor to be in the last character. The way the cursor is at the beginning of the field even if the field is not empty. function gravaObs(unidadeObs) { var…
-
0
votes0
answers234
viewsQ: Excel file creation error with Phpexcel
I would like to know the correct way to align the text in all columns; adjust the width of all columns; and also apply bold in ranges of cells. The way my code is, it does correctly, however,…
-
1
votes1
answer682
viewsQ: Error opening map in modal bootstrap
I have this function that receives the variables and assembles the map. It simply stopped working and on the console appears the error --- index.php:196 Uncaught Referenceerror: $ is not defined ---…
-
0
votes1
answer196
viewsQ: Sync data offline with Phonegap
A situation has arisen that I need to synchronize data from an App but the device does not always have connectivity because it is used by a seller on the street. When it has connectivity it saves…
-
0
votes2
answers99
viewsQ: Split in reverse order
var itens: "101|102|103|104"; var quebra = itens.split("|"); for (var i = quebra.length - 1; i >= 0; i--) { var unidade = quebra[i]; $("#lista").append("<p>" +getValue(unidade,…
-
0
votes1
answer73
viewsQ: Error while receiving variable JSON
That way I can get my values back: var unidades: "101|102|103|104"; function getValue(key, array) { for (var el in array) { if (array[el].hasOwnProperty(key)) { return array[el][key]; } } } var…
-
3
votes1
answer273
viewsQ: Improve Writing Resolution with HTML5 Canvas
How to increase stroke resolution when drawing with Canvas on Touch Device. I can increase the stroke thickness, the color of it but when I make a circle comes out parts straight or square. var…
-
8
votes1
answer5630
viewsQ: Writing on Javascript screen
I need to make an area in the form that the user digitally signs with a touch screen pen to store their signature. As if the same was writing on a paper but on screen. I read about Canvas but only…
-
0
votes1
answer626
viewsQ: "/" bars and white space in Javascript function parameters
I need to pass a string that contains bars and white space. <a href="javascript:carregaCliente('184/5 RB')"></a> And in function function carregaCliente(reg){ console.log(reg); var map;…
-
0
votes1
answer290
viewsQ: External access Phonegap
Problem : my app runs cool in emulator however when Gero . apk it does not access internet. Note: I have not changed anything in config.xml and androidManifests.xml.
apache-cordovaasked Ezequiel Tavares 351 -
0
votes1
answer483
viewsQ: Use of . append() or . html() - jQuery
I am unable to insert html into an element. JS function carregaAgendamento() { var url = "http://prestoexpress.com.br/vistoria/json.php"; $.getJSON(url, function(result) { console.log(result);…
-
3
votes2
answers522
viewsQ: Native HTML 5 Progressibar Animation
How to animate the Progressbar below using Javascript? <progress max="100" id="myBar" value="0" class="progressBar"></progress>
-
0
votes0
answers185
viewsQ: Splash screen with Phonegap
I am unable to use the plugin splash-screen He stays on this screen and doesn’t come out of it. My config.xml this as it was created without changes.…
-
0
votes1
answer469
viewsQ: Listbox with JSON data - Delphi mobile
I have that data JSON that returns from a webservice query: [{ "id":"1", "usuario":"teste", "senha":"teste", "chave":"d59876jh", "email":"[email protected]" }] I need to populate the Items of a…
-
2
votes1
answer396
viewsQ: How to insert value into html attribute with javascript
A doubt How to insert a value into a href="" attribute with javascript
-
-3
votes2
answers59
viewsQ: While does not validate last php array
Does anyone know why the button of the last while record does not perform the form action? <?php while($dados_tabela = $consulta_tabela -> fetchObject()) { ?> <tr> <td><?php…