Interesting questions
-
1
votes3
answers908
viewsI have the following error in my Ionic project "Error: Uncaught (in Promise): Typeerror: Cannot read Property '0' of Undefined"
Hello my Ionic project is with the following error (Error: Uncaught (in Promise): Typeerror: Cannot read Property '0' of Undefined) follows an attached image of the problem. I would like some hint.…
-
3
votes1
answer7604
viewsExcel 2007 - Buttons to Create / Remove Rows
I have an excel table with only one row (plus the header) and six columns. The entire sheet is protected except this line. At the end of the table I wanted to have a button (+) that adds a new row,…
-
1
votes3
answers11806
viewsCopy from a filtered sheet in excel vba
I’m having a problem, I need to extract a list of excel data that I Filtreed with over 200,000 lines, i have the option to make excel analyze each line and delete it but I wanted to do this without…
-
0
votes2
answers125
viewsSyntax error warning in the console running Angularjs
I have the following code, which uses Factory: angular.module("fluxo", ["ngRoute"]); .factory('factCliente', ['$http', function($http) { var _getData2 = function(id_empresa) { return…
angularjsasked 10 years, 6 months ago GustavoSevero 2,567 -
-4
votes1
answer31
viewsWhen I try to change the value of a css variable with js error
When I try to change the value of a css variable with js the following error: index.html:27 Uncaught ReferenceError: root is not defined at HTMLBodyElement.<anonymous> (index.html:27) i…
-
0
votes2
answers137
viewsIssue advanced MYSQL queries
So, I have a question, how to make a query related between 3 tables, being: Tabela 1: Nome: tb_os Campos: id_os, id_cliente, valor_os Tabela 2: Nome: tb_clientes Campos: id_cliente,…
-
0
votes2
answers210
viewsCountdown incorrect date
I’m using the Countdownjs to enter a count in my project but it is returning the incorrect day. I am using Angularjs, follows below the directive I created for counting:…
javascript html angularjs angularjs-directives countdownasked 9 years, 2 months ago Maurício Krüger 1,848 -
0
votes1
answer1055
viewsSend a modelView as parameter to a modal bootstrap
When searching for how to render a partialView in a modal bootstrap, found this link: Using Bootstrap Modal window as Partialview, only I need to make a request POST by clicking the button that…
-
4
votes2
answers189
viewsSum function with a large value returns a wrong result
Why is my summation function returning to me 633223344234234200000 and not 633223344234234234235? function plus(n) { return n+1; } console.log(plus(633223344234234234234))…
-
4
votes1
answer9432
viewsHow to discover the chat ID via the Telegram API?
I am configuring the Telegram BOT API via Guzzle. I am trying to understand what the parameter would be chat_id described in the method documentation sendMessage. I have the following code: $cli =…
-
0
votes0
answers57
viewsSound alert in Javascript
I have to create an audible alert for a chat application, I am using the native audio library of javascript, the problem is that many times, this alert is blocked by the browser, this happened when…
javascriptasked 5 years, 2 months ago Carlos Henrique 11 -
2
votes3
answers52
viewsSet variable according to number record up to number
I have the following idea: $quantidade = $rowcount; if $quantidade (?) '(?)') { $valor = '1'; I need to set the $value by following: de 100 a 499 = 1 de 500 a 999 = 2 de 1000 a 1499 = 3 de 1500 a…
-
3
votes2
answers1390
viewsDynamically change a class background
I have a site where the content creation is dynamic and the user can choose the color to be used in components, but, I need him to see the update in real time, then, I need the class to be changed…
-
1
votes1
answer675
viewsMulti-line comments and Python identation error
I was writing my code and I needed to block some lines of code. As there are several, I decided to use the 3 quotes to block a part of the code. However, when I run the code it presents an…
-
1
votes0
answers64
viewsHow to change toggle switch through database
I am trying to change the bool in the database to true or false, the toggle switch to change, depending on true or false. <script> $(document).ready(function () { for (var i = 0; i <…
-
4
votes2
answers1355
viewsIs there a way to redirect to another page by clicking on a div?
I have a div: <div class="col-lg-4 col-sm-6"> //Essa aqui <section class="panel div-border-red"> <div class="symbol red"> <i class="fa fa-eye"></i> </div> <div…
-
0
votes1
answer531
viewsLink in Datatables table
I need to create a link where I have the input name in the table using Datatables, this link should call a javascript function. The problem is that when the table is loaded it executes the script…
-
0
votes1
answer637
viewsfilter table Asp.net mvc
I need to filter a table, which is in a partial view, depending on the parameter typed in a field, which is passed to the controller via ajax. How to reload the table with the filter applied? Part…
-
0
votes0
answers370
viewsCRUD Mysql , I need a button that fills inputs
Good morning, I have a question about how to make the above inputs receive data from my database, for example: let’s assume that I will change something, but I just want to change a value the…
-
0
votes3
answers81
viewsHow to view a modal automatically when entering the site?
By clicking on the tag <a> is displayed a modal. How can I make so that when the person enters the site, the modal appear without the click? .modalDialog { position: fixed; font-family: Arial,…