Questions tagged as 'javascript'

1
answer

How are the nvd3 graphics defined?

I have several graphics of nvd3, and reading I have learned that to place the time in the column x must be passed in time unix, but this data //Siendo el primer dato el tiempo y el segundo el valor] values: [[1083297600000, -2.974623048543], [...
asked by 26.05.2017 / 16:47
1
answer

problems dynamic name event click inside a For not working jquery

Greetings when assigning a dynamic name does not assign the action html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximu...
asked by 19.10.2017 / 15:59
1
answer

what event should I use when changing the dimensions of an element in the DOM

I have the following code: document.getElementById("container").addEventListener("scroll", function () { console.log("scroll Event..."); }); function WrapText() { document.getElementById("container").classList.add("WrapText"); }...
asked by 17.05.2017 / 03:30
1
answer

Pass data from localstorage to php

I need to pass a data of localstorage to a variable php , and I store the data in a script on the same page but I get null to php , I do not know what I'm doing wrong or what I'm missing, I attach my code, thanks in advance for...
asked by 01.06.2017 / 14:48
1
answer

Problem with JavaScript remove function

I have a problem with REMOVE , I currently have a dynamic table with which I add more rows and also add a link called REMOVE which should remove the row, but currently I'm not performing the function of removing, insert the row if i...
asked by 31.05.2017 / 20:25
1
answer

How to upload images to nodejs

I want to upload several images to my server nodejs that have additional information such as title and category , I tried sending the images in DataUrl but due to The limitations of POST does not allow me to upload more than 2 images at a t...
asked by 14.05.2017 / 20:55
1
answer

Work JSON data with Django

When the convertir() method is executed, all data in the table is converted to JSON , but I need to get the data for each row instead of the entire table. How can I do that? Javascript Code: function convertir() { var table =...
asked by 13.05.2017 / 13:42
2
answers

Javascript exercise

Hello, I have to do this exercise:    Enter a list of student names by screen. Each time a new user is entered, ask if you want to enter another one using the "Confirm" function. In case the user does not want to enter another student, show t...
asked by 12.05.2017 / 22:22
1
answer

Problem generating an unordered list (ul) with bootstrap from javascript

The problem I have is to generate the list this presents me with 2 problems: 1. Sub-levels: From the second sub-level it adjusts to the left. The function that generates the list is recursive and creates sublevels depending on the json...
asked by 13.05.2017 / 06:29
1
answer

. replace with array

I'm trying to replace a text that I have in a textarea as something is selected in a select. The fact is that what I would need is for you to erase the old text to insert the new one, but of course you can not delete all the text just a serie...
asked by 14.09.2017 / 17:57