Posts by Bruno Ferreira • 129 points
20 posts
-
-1
votes1
answer357
viewsA: Open local file by link on html site
Luiz depending on how you are doing this intranet you can add a link with the html tag, example below: <a href="Caminho do arquivo">Visit W3Schools.com!</a> //Exemplo <a…
-
8
votes3
answers6191
viewsQ: The operand of a 'delete' Operator must be optional
I’m having trouble understanding why it is not possible to apply delete user.password in the code below Terminal return: The operand of a 'delete' Operator must be optional. My code: import {…
typescriptasked Bruno Ferreira 129 -
2
votes3
answers608
viewsA: Custom Filtering - Range Search - Datatables
You can do this way too: $(document).ready(function() { jQuery.extend(jQuery.fn.dataTableExt.oSort, { "extract-date-pre": function(value) { var date = $(value, 'span')[0].innerHTML; date =…
-
0
votes0
answers168
viewsQ: Problem to run select with sequelize
I’m having trouble executing a select in Nodejs where it takes quite long looking that the same stays in infinite loop. module - sequelizejs bd - SQL server dbConnection const Sequelize =…
-
-2
votes1
answer108
viewsQ: Problem with result Undefined - nodejs
I am having problem to recover the data from db SQL Server with Node the same does not pull in any way the result of the query informed: module mssql dbConnectio const sql = require('mssql'); const…
-
0
votes1
answer165
viewsA: Problem with read Property 'query' of Undefined
The above error if gives on account of the form that was writing the code with arrowFunction where it has a global context, follows below the problem resolution: //Antes…
-
0
votes1
answer165
viewsQ: Problem with read Property 'query' of Undefined
I’m having trouble getting the result of a query in Nodejs bd -Sqlserver module - mssql Error presented: Typeerror: Cannot read Property 'query' of Undefined At formulasdao.getFormulas (C: xampp…
-
0
votes1
answer35
viewsQ: Problem with Controllers
I’m having trouble implementing the MVC standard presenting the error below: Typeerror: application.app.controllers.admin.noticias_save is not a Function const { check, validationResult } =…
-
0
votes1
answer55
viewsQ: Problem in the Result
I am having problems both to present the error message and to insert the information in the BD module - express-Validator 1 - Error in saving information: Result { Formatter: [Function: Formatter],…
-
0
votes1
answer1434
viewsQ: Typeerror: expressValidator is not a Function
I’m having trouble solving the issue below where the message appears "Typeerror: expressValidator is not a Function" var express = require('express'); var consign = require('consign'); var…
node.jsasked Bruno Ferreira 129 -
0
votes1
answer31
viewsA: Problem to Insert Data in BD
The problem is in the name of the News textarea //Antes <br /> <label>Notícia</label> <textarea id="noticia" name="noticia" rows="5" cols="30"></textarea> <br />…
-
0
votes1
answer31
viewsQ: Problem to Insert Data in BD
I created a form that inserted information in Mysql using Nodejs, but it is not inserting anything and not any error in the console and none in the terminal, follows below the code admin.js…
-
0
votes2
answers33
viewsQ: Number formatting
I was wondering if you could help me with formatting the printed number. Error: Quantity_dia.js:17 Uncaught Typeerror: num.toFixed is not a Function How is it coming: 12.0 I’d like you to show only…
-
0
votes2
answers56
viewsA: Problem to run setInterval
I found that this way it pulls the information and does not duplicate, but I do not know if it would be the most correct way to execute such code so I am available for better suggestions…
javascriptanswered Bruno Ferreira 129 -
0
votes2
answers56
viewsQ: Problem to run setInterval
Good afternoon I’m testing automate the search for record to the database with the script below: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta…
javascriptasked Bruno Ferreira 129 -
0
votes1
answer195
viewsQ: a. getTime is not a Function - Google Charts
Good night I wonder if anyone ever caught this mistake while creating the charts by Google Charts a. getTime is not a Function Return of the Json…
-
0
votes0
answers879
viewsQ: How to update table automatically with Jquery/Ajax/PHP
I would like to know how to automatically update the table with the Jquery load because I tried to put it in the main file and keep breaking the table, so I increased the setInterval time but still…
-
0
votes0
answers33
viewsQ: Permission Validation - PHP
I have a problem in implementing the validation of a page, because it is always allowing the user to access the page regardless of the type of access, could help me? Types of Access Admin Manager…
phpasked Bruno Ferreira 129 -
1
votes1
answer145
viewsQ: PHP Excel is exporting data skipping line
I would like help to understand why when generating the report the data are not matching with the information tags , the same keeps skipping lines Example of how the file looks <?php $dadosXls =…
-
-2
votes4
answers2698
viewsQ: How to pass php array to javascript
I’m having trouble passing the $json[] array to Javascript, could someone help me. <?php include_once ('../conf/conexaoBanco.php'); $mensagem = ""; $stmt=$conectarBanco->prepare("SELECT * FROM…