I have the following function that is sent to call when I enter the page, but at that time I still do not have the variables full with values, since they load up to fill a few combos and reload the page.
The first time you enter, the field...
I'm starting with Javascript and POO , but when creating this class and writing the command to print in console, it only shows me the content of the object:
(ƒ operacion(){
return this.n1+this.n2;
})
What prevents me from receiving the...
I have the following design
and as you can see the calendar of DatePicker it covers the bar that I have at the top.
Calendar function code
$(document).ready(function(){
var date_input=$('input[name="date_inicio"]'); //our date...
Here I send the data but I have to press the button and I want to do it
can also be done by pressing enter:
<input type="text" name="fecha" id="fecha">
<input type="text" name="direccion" id="direccion">
<div id="enviar">Envi...
This is the code of my button in HTML with CSS I would like to use JS to assign it instead of clicking for example a F7 or F8 or any combination of keys with jQuery .
<div class="form-group">
<button type="submit" class="bt...
I have the following arrangement:
let arreglo=[{'class':1,'var':1, 'valor':50},
{'class':3,'var':2, 'valor':150},
{'class':1,'var':2, 'valor':200},
{'class':1,'var':1, 'valor':60},
{'class':3,'va...
Because the page where I want to insert the following line of code, how can I replace the arrow function so that I can run in the ES5 version?
const frutas = ["Banana", "Orange", "Apple", "Mango","Orange"];
const contarFrutas = (valor, listaD...
The function keyCode does not work in Chrome but Firefox works very well, by pressing the Tab in the input calcular you should trigger the function.
here my code:
$("#calcular").keypress(function(event) {
var keycod...
I'm trying to do extensions for chrome and my html file does not recognize the js
File manifest.json
"content_scripts": [ {
"matches": ["https://*/*"],
"js": ["app.js"],// este js si lo reconoce
"css": ["app.css"]
} ],
"brow...