Questions tagged as 'javascript'

1
answer

Unexpected changes in an object array using Node.js

I have the following problem with a code that I made (similar to what would be Open Hashing). I have the following code in javascript: let o = function(){ this.a; this.geta=function(){return this.a;} this.seta=function(a){th...
asked by 08.11.2018 / 15:31
1
answer

change disabled td in a table with x-editable

I want to be able to make a table that disables me td depending on the select option that I select. Example: If I select Wood1 the first and second td are enabled and the third one is disabled with the enabled button td n...
asked by 08.11.2018 / 17:41
1
answer

icons that scroll down to a certain point

I have some icons which are downloaded when I scroll, but I need to stop before getting to the footer, since they currently go down to the end of the window and are moonted in the footer HTML <head> <link href="css/boot...
asked by 03.12.2018 / 10:16
2
answers

Javascript: Sum of amounts in real time

introducir el código aquí I have the following function that works to add the amounts in inputs that have the class monto_cierre : function sumamodal() { // Para suma de montos de cierre var total = 0; $(".monto_cierre"...
asked by 03.11.2018 / 15:57
1
answer

Take data from an input

I have a chronometer system in which I am trying to take the input data and take it by $_GET to be able to calculate time by value. var startTime = 0 var start = 0 var end = 0 var diff = 0 var timerID = 0 function chrono(){...
asked by 03.11.2018 / 23:05
1
answer

Change color to the figure does not take it, canvas

As you can see, I take the color but it does not apply to the figure itself, if you can lend me a hand I would appreciate it. I leave the code below. $(function() { let miLienzo = document.getElementById("myCanvas"); let lapi...
asked by 04.11.2018 / 00:03
2
answers

Create another database objects database Indexeddb

Good afternoon, I have a database in IndexedDb with a store of objects but I would like to add another store because one would be for a patient's data and another one would be for the tests of the same that have the DNI and several more field...
asked by 11.03.2016 / 19:07
2
answers

The value of the Datepicker (Daterangepicker) transformed to "Date" always shows me today's date

Greetings, I have a Datepicker which if I pick up the value directly (as a string)      var Data = $("#txtExpDataInici").val(); I take the values of the date well, but if I change it on date Date($("#txtExpDataInici").val()); alway...
asked by 03.03.2016 / 09:54
1
answer

Multiply rows of tables

I made a table where on the labels I can write numbers (to multiply them) and in another to show the result, it works only when I have a row But if I add another row with its columns below, it does not show the result for each row...
asked by 16.11.2018 / 16:19
1
answer

How to insert values from a dynamic table into the mysql database

Good, I have a sales form, more or less finished. In that form I have a table that adds dynamic rows extracted from another table in a modal. $('.a').on('click',function(){ var trPrincipal = this.offsetParent.parentElement; //Buscamo...
asked by 25.06.2016 / 07:42