I'm learning how to program in javaScript I was trying to do an exercise where I had to sort the numbers in an array and then delete the ones that are repeated, do the following (I'll leave it below to continue with the explanation), my question...
I am designing a graphical interface for electrical circuits and I want to check the operation of a light bulb that I have defined as an object. The definition of the bulb object is as follows:
/* Función para crear una bombilla */
joint....
the problem is:
I have a multiple select that lists records from a table, so when I select a select option it adds an input with the user ID inside a DIV, and when I deselect an option it continues adding a new input.
How can I prevent...
I have a problem validating the indexes of the selected options in a select since the event only runs in the select utlimo, since the selected index == 0, it is as if the for would not work
the button must be activated only if both select are...
I need to call the editProduct () function from a button in the html. What I did was add it to the onclick="editProduct ()" button. This is the javascript code:
const API = (function() {
/**
* Obtiene una orden desde el backend...
The problem is that this code:
const Jimp = require('Jimp');
var map = [["⬜","⬜","u","⬜","⬜","⬜"],["⬜","⬜","⬜","⬜","⬜","⬜"],
["⬜","⬜","⬜","⬜","⬜","⬜"],["⬜","⬜","⬜","⬜","⬜","⬜"],
["⬜","⬜","⬜","⬜","⬜","⬜"],["⬜","⬜","⬜","...
I'm making a website for my mobile app, the truth is that I do not know much about Javascript (nothing really) and I have almost everything I need, the only thing that is giving me problems is this code if (), the which apparently does not recog...
I need to be able to read all the data in each row to put them in a bootstrap-table , does anyone have any ideas?
I have this code saved in a field in my sqlserver database:
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xml...
I want to make a simple list linked with javascript and for that, I need to make a variable of the same type of the class, in Java I did it like this:
class Nodo{
public char datoNodo;
public Nodo sgte;
public Nodo(char dato){...