Questions tagged as 'javascript'

2
answers

Convert javascript variable to PHP

My problem is that I have a button which sends a parameter to a javascript function. When I receive it in this function, I want to execute an sql query where the where includes this received variable (this to generate a pdf jspdf and not having...
asked by 07.09.2018 / 13:22
1
answer

Form with Java [closed]

First of all, I have a SELECT with two values, the value A and the value B. And one DATE, and two SELECT more, one for the hour and another for the minutes In the project, I have two restaurants, A and B. The restaurant B does not open on Mon...
asked by 26.01.2017 / 11:51
3
answers

How is an arrow function performed?

(() => { alert("Anonima auto ejecutable"); })(); var cualquiera = (() => alert("Tipo expresion"))(); How can I do it as a normal function? Bone function(){} since: cualquierFuncion() =>...
asked by 01.08.2017 / 15:36
1
answer

use reduce to calculate the average [closed]

I have the following "data" that is inside an object array and I have to find the average of each value of the "data" this is the object I'm working with var MARKDATA = { "SOR": { "mark": [ { "data": {...
asked by 05.01.2019 / 16:31
1
answer

Knockout js does not bring me the value of the established date?

I have problems bringing a date from the database with knockout, it brings me the next date, function genderModel() { var genderModel = this; genderModel.GenderId = ko.observable(); genderModel.GenderName = ko.observable(); ge...
asked by 31.12.2018 / 14:48
1
answer

node error: module.js: 538 throw err

129/5000 I really do not know what kind of problem it is, but apparently every time I want to use the js it does not work .Thanks for answering. .     
asked by 27.11.2018 / 00:39
1
answer

What would be the result of this?

I need to know how to get the value of x after executing this variable: x=1; if(x<1) { x=2; }else if (x>=1) { x=0; }else{ x=3 }     
asked by 11.11.2018 / 03:22
1
answer

FullCalendar one day before specified

When I put a start and end date, then it is placed one day before, for example: 2017-12-01 to 2017-12-03 one day before 2017-12-02 I am using moment.js and this is the format I have moment(start).format('YYYY-MM-DD')     
asked by 04.12.2017 / 19:52
1
answer

Problems with activeElement

I am trying to convert the values of the input that are numbers in decimals but the activeElement function does not get the values of the active input and it gives me an error, I hope you can help me or add another way of doing it, $(doc...
asked by 16.01.2018 / 16:51
1
answer

how to decode this text in JavaScript (Hello, u00bfen quu00e9 can I help you?) [closed]

It is coded but I want to replace the letters where the accents and the question mark correspond, what function could I use to do this?     
asked by 28.01.2018 / 18:32