I have the code snippet exposed below:
var calcularSoma = function (primeiroValor, segundoValor) {
var soma = primeiroValor + segundoValor;
if (soma < 10) {
console.log(soma, "Unidades.");
return soma;
} else if (soma < 100) {...
Hello, I'm creating a barcode reading system where I have an application on a device that serves as a camera, and sends that information to a web page on a PC. But I did create that page did a search on the local network of the user and found the...
How do I, when someone enters an html tag in my online editor, javascript set a color for that tag?
An example would be:
< html>
//Essa tag teria sua cor mudada por uma função
function Tag(){
//A função tag ao ser chamada iria setar u...
When loading a page, I have two Ajax requests in a sequence that populate two select's with the options that come from different tables in the database.
But only the first one is executed, the second does not even call. I've followed debuggin...
Good morning,
I have an application in Vue, where the upper and lateral nav are static, and the content (body) is loaded according to the requests made in the nav links. The Vue greatly accelerates the use, charging only the center, but does thi...
I'm using the toFixed () function of javascript to display values with two decimal places ( toFixed (2) to display 2 digits after the decimal point).
The problem occurs that I have two situations where the value has three digits after the...
I can not identify why this "shadow" is appearing, the risk when I move the mouse on the graph, this happens with all others that are 3D.
Here is the code and image of what is happening:
function geraColunasSimples(idChart, jsonCategories, yTi...