Questions tagged as 'javascript'

1
answer

Export variables from the Node JS server script

I'm trying to export a variable from my script (Server.js) to another script (articleHandler.js) using the following code line in the server script module.exports = myVariable; Which has not given me any success, since when ex...
asked by 14.10.2018 / 05:26
1
answer

Deactivate cells before the selected cell - JQuery

I'm creating a calendar with JQuery . This is the code: <div id="dncalendar-body" class="dncalendar-body"> <table> <thead> <tr> <td>D</td> <td&g...
asked by 16.10.2018 / 16:03
1
answer

The split ("") method of an array returns the messy array

I want to save the value of a text area in an array and I am doing it with a let array = texto.split(" ") , but when doing console.log(array) it returns it messy. What can I do? Here is the code: let t_Area = document.que...
asked by 18.09.2018 / 23:13
1
answer

Pass the ID number from one input to another on a different page

I need to do that when I enter a dni in a input and I give the boton to accept, that number, go to another input that is in another page. I have tried using localstorage but I have not been successful, I have also ent...
asked by 10.09.2018 / 16:13
3
answers

how to execute functions in the constructor of a class js

I wanted to execute a function of the own class in the constructor of that class, in this case the purpose was that the class was going to be a game so in the constructor when calling it a function was executed to initiate that modifies what was...
asked by 11.09.2018 / 21:55
2
answers

I can not use a Json file

What happens is that I'm trying to use this Json to locate on the map and show the information: [ { "codigo": 0, "sucursal": "PUERTA DEL NORTE MEDELLIN (Centro Comercial)", "region": "ANTIOQUIA", "direccion": "Diagonal 55 #34...
asked by 14.09.2018 / 14:05
1
answer

Convert UNIX date timestamp to date

When the information reaches my API, it arrives with the Unix format TimeStamp For example: 1535440000 I need to convert this format to YYYY-mm-ddTHH:MM:ssZ eg: 2018-05-31T16:49:27.698Z . I'm working on JavaScrip...
asked by 10.09.2018 / 13:34
1
answer

Any way to "align" a JSON using JQuery?

I have a form that returns a JSON with the variable data entered in the input of it. Below this form, through the use of AJAX, it returns the expected response in JSON format under the button to send the form! What I want to know is if the...
asked by 17.09.2018 / 19:30
1
answer

receive array in php

I need to take an array to php to be able to insert it into a table that is in mysql Since Javascript I'm sending it like this var table = $('#tblGrid').tableToJSON({ ignoreColumns: [5] }); JSON.stri...
asked by 13.09.2018 / 12:43
1
answer

Do not draw google.map.Circle in google.visualization.Map

I am developing a web application in laravel and I must visualize a map with markers, circles, etc. I also use google charts and I have some tables. When I click on a table I select the marker whose position equals the position I have saved in t...
asked by 13.09.2018 / 07:19