Questions tagged as 'javascript'

1
answer

ajax function that returns a [duplicate] value

function appelTeams(team, ligue) { $.ajax({ type: 'GET', url: team, dataType: 'json', headers: {"X-AUTH-TOKEN" : 'f6b3ae25342242f8b76a233c4c781686'}, success: function(teams) { $("#ligue")...
asked by 30.11.2017 / 10:32
1
answer

insert the checkbox values that are selected in accordance? [duplicate]

My CH is connected to a field in the database, as the values that are selected are inserted into an array?     
asked by 29.11.2017 / 18:00
1
answer

Convert a date in format 1-Jan-2017 to 01-01-2017 format

I am trying to convert a date with the format 1-Ene-2017 and successively with every month, to the format 01-01-2017 . I get this date from a field called hidFechaFinal with the following code: function validaFechasAsign...
asked by 29.11.2017 / 18:34
2
answers

Problem uploading files to the server

Create a folder named files www.MiServidor.com/Archivos to which you modify the permissions to be able to read, write and modify. I have a form in index.php in which a name of an image and a file are inserted. When sending the form...
asked by 31.10.2017 / 04:37
1
answer

Different dpi in x with respect to y's. javascript

I'm trying to represent a 3x2 rectangle on the canvas, drawn in pixels using javascript. I am mainly interested in keeping the relationship, as far as possible, on paper, not on the screen. When printing this rectangle to pdf, and then to paper,...
asked by 31.10.2017 / 10:59
1
answer

Uncaught TypeError: React.createClass is not a function

I have the code with emac6 so I do not understand why the next error in the browser when launching the app with the code already compiled bundle.js . Uncaught TypeError: React.createClass is not a function webpack.config.js /* eslint...
asked by 08.11.2017 / 18:45
2
answers

Fill fields from a Select with a database

Greetings, I'm doing an Autocomplete with PHP , Ajax and JQuery populated by a database in SQL that constantly changes of registers and with the options of that Select I have to fill several text fields of a form that may or may not be mo...
asked by 13.11.2017 / 19:30
1
answer

Does anyone know how to fill a Pie Graphics from a driver?

I have been searching the internet for a way to fill the data from a controller, the code is programmed in ASP.NET MVC 5 RAZOR. I show you the code below: VIEW <script type="text/javascript" src="https://www.gstatic.com/charts/loader....
asked by 26.10.2017 / 23:33
1
answer

Problem with datetimepicker in a sun

Good morning friends I have the following problem with a datetimepicker in a dynamic form that increases, the problem is that the first row is displayed on the datetimepicker per if I give the button more to clone the row above the second dat...
asked by 22.10.2017 / 14:13
1
answer

the identifier has already been declared

I have a problem with my code, it tells me in the console that the identifier has already been declared, I do not know what to do, this is my code: class FechaCalculada { constructor(segundo, minuto, hora, dia, mes, año) { this.segundo...
asked by 22.10.2017 / 22:33