0
votes
1answer
5 views

Concatenate Raphaël Sets

With the Raphaël library, you can create sets, which are array-like objects that hold Raphaël elements and can implicitly loop over those elements when an element method is called. The issue is that ...
0
votes
3answers
34 views

javascript array filled strangely

I am writing an app in angular, and creating an array of custom services called Workbooks that each have an array of custom services called Views. I fill the array with a simple for loop, but for some ...
0
votes
2answers
20 views

Javascript nested arrays

I am currently developing a website to do with cooking and will store recipes. At the moment I am planning to store the recipes in a JS nested array. The array will contain all the recipes and then ...
0
votes
0answers
12 views

Dojo datagrid: Multiple values in a single field

I am using Dojo 1.7 and I have a field in a datagrid that can have no values, one value or multiple values. I am trying to use data formatted this way: //data var store2 = new ...
0
votes
3answers
46 views

Cannot read property 'undefined' of undefined, but I'm sure the var is valid

I am parsing a smil (xml) file to get a list of pathname. The parsing go well, and is stocked in a huge literal object. But when I try to get the information back, I only get: ...
3
votes
3answers
33 views

Javascript update a value in an array within an array

I'm using the Flot Chart plugin to construct a bar chart. When the script receives new data, I need it to increase that value by one. var data = [["A", 0], ["B", 0], ["C", 0], ["D", 0], ["E", 0]] ...
0
votes
3answers
55 views

Reading an HTML NodeList into an array

The sample code below currently gets an HTML page, and tries to read it into an array. The AJAX is working perfectly, and I can get a nodelist object successfully. Is it possible to somehow read this ...
-1
votes
0answers
43 views

Array of litteral object and length

I m working on a TV player with a raspberry pi on raspbian The video to play are received under a smil (xml) file, I have made a function to parse it, but since the code is quite long, I ve putted it ...
1
vote
0answers
17 views

How to get a sum of values in array in Google Native Client inside C++?

In my HTML Let's say I have 2 input fields with values 3 and 4: <form onchange="reload()"> <h2>Input:</h2> <input type="number" id="val1" name="val1" value="3"> ...
0
votes
2answers
30 views

loop values to a specific format

I'm trying to populate an array in the format. It is a specific format that another library uses and must be exact: var d1 = [[1,3], [2,7], [3,5], [4,6], [5,5]]; I have a database that I want to ...
0
votes
1answer
39 views

Array data push inside knockout utils foreach

I'm using Knockout Utils Foreach array for loop through a json and now I want to add a new items to each array objects. Following is my code: var self = this; self._isVisible = ...
0
votes
1answer
29 views

Javascript Memory Management Using Global Arrays of THREE.JS Objects

I have a a question that's been bothering me for some time. I am using the three.js webgl library to render a large scene with many textures and meshes. This question is not necessarily bound to ...
0
votes
2answers
46 views

Converting json array into variable names/ values from nested form data to repopulate form

Hopefully I can explain this properly. I have a form that gets converted to nested json from grouped form elements such as <input type="checkbox" name="faults[slats][]" value="cracked"/> ...
0
votes
3answers
115 views

Why does String([1,2])==“1,2” and not “[1,2]”? [duplicate]

What I want to do is change an array, say, [1,2,[3,4],17.5] into a sting like "[1,2,[3,4],17.5]" but not like "1,2,3,4,17.5" i.e. keeping all of the brackets. I tried using the built in ...
0
votes
1answer
23 views

Merge two multidimensional arrays, but cant duplicate using datetime

I wish to merge two arrays into one, but cant duplicate using datetime, basically cant merge two results from both arrays with the same datetime. In each array, the datetime is never repeated. Both ...

1 2 3 4 5 393
15 30 50 per page