Questions tagged as 'javascript'

3
answers

How to increase the days of an input date without counting on Sundays?

I have an input date where I put a date and another input date where N days appear after the day I fill in the first input date, but I want the N days do not count on Sundays. What I did until now that is easy is to increase the N days but co...
asked by 19.06.2017 / 02:57
1
answer

How to reactivate the bootstrap validation?

My query is as follows, I have a div teacher, where I have a form with several fields inside. The form has validations of Bootstrap inside: $(document).ready(function() { limpiarFormulario(frmGarantias); limpiarFormulario(frmAsignarGar...
asked by 09.03.2017 / 16:51
2
answers

problem to publish a value in an input t = text with an ID

I have a question. I searched the web but, I could not find how it is done. I'm seeing a system already created, but I want to modify some things. I have an Ingreso.php page with a code that brings me the values of the database. $siniest...
asked by 08.09.2016 / 00:47
2
answers

How to delete Object Property without knowing its Key. JavaScript

This time I have a question, I have this example object: "pasada" : { "09-10" : 34.11, "09-11" : 35.73, "09-12" : 34.03, "09-13" : 35.85, "09-14" : 38.75, "09-15" : 34.07, "09-16" : 32.46, "09-17" : 34.57 } W...
asked by 17.09.2018 / 15:43
1
answer

Conversion to binary with javascript (logical doubt)

Recently I started with all this programming, at this moment I am making a script that transforms a decimal number into binary without using the & or the String. The error that presents me is that giving it integer values brings me closer to...
asked by 28.05.2018 / 16:09
4
answers

How can I get the name of the machine (client) using Javascript?

Is there any way I can get the name of the machine (client) using Javascript?     
asked by 02.02.2016 / 20:55
1
answer

Can not bind to 'ngForFor' since it is not a known property of 'table-box'

I have a problem when wanting to generate an ngFor in Angular 2 That's the code I want to insert. import {Component , Input} from '@angular/core'; import {Tabla} from '../common/tabla'; @Component({ selector: 'table-box', templa...
asked by 08.05.2017 / 02:26
2
answers

How to fill the array in another way?

window.addEventListener("load", function(){ // Para uso var matriz = []; var i = 0; for (i; i<=50; ++i) { matriz.push(i); } matriz.forEach(function(e) { document.write(e + '\n');...
asked by 12.06.2017 / 20:02
5
answers

Pass an HTML element by parameter on onclick

I have an HTML, where when doing the event mouseover on a button, an input: text, and a p, these are hidden, and then when clicking on another p these are shown again, the problem is that the tag p I have it like this <p id="show...
asked by 20.09.2018 / 00:08
5
answers

Reverse a string without .reverse (); in JS

Well it turns out that I have to reverse a String in JS but the method .reverse (); It does not work in my case. function invertir_nums(numeros, numeros_i){ numeros_i = numeros.reverse(); } The problem is that it does not inv...
asked by 02.01.2019 / 15:42