Tagged Questions
0
votes
3answers
35 views
Arrays nested in array JSON - how to access properties
Struggling with some JSON I've been provided. It's in this format:
[
[
{
"items": [
{
"id": "xxxxxxx",
"name": "xxxxxxxxxx",
...
2
votes
3answers
29 views
What is the most efficient way of sending data for a very large playlist over http?
I'm currently working on developing a web-based music player. The issue that I'm having is pulling a list of all the songs from the database and sending it to the client. The client has the ability to ...
2
votes
1answer
23 views
How do you extract/where the javascript list with an array property
I like to extract the javascript object list using underscore.js where
The original json list
[{"id":1},{"id":2},{"id":3},{"id":4},{"id":5},{"id":6}]
And the array to filter out:
...
-1
votes
1answer
35 views
Unexpected end of input in JS [closed]
I am trying to load a JSON file through javaScript. I have place button in the HTML that executes the function loadAJAX. But I keep getting an error on line 11 var items = ...
0
votes
0answers
9 views
Disqus API show newest comments and link to
just signed up for an application within diqus to test out the requests.
Im basically looking for the correct API to show new comments that have been postsed by users on forums and then linked.
...
0
votes
1answer
36 views
Javascript/HTML finding files in a directory
I'm trying to find one file which is of JSON type in my directory using Javascript. However, when I look at google results, they claim that Javascript cannot do such a thing because it is a ...
0
votes
2answers
29 views
Trying to get integer out of json for current time comparison
<?php
date_default_timezone_set('America/Los_Angeles');
$date = date('Gi', time());
?>
<script type="text/javascript">
var locTime = <?php echo json_encode($date) ?>;
var jTime = ...
0
votes
0answers
16 views
Knockout is generating two bindings for single foreach
I'm facing headache issue that led me to spend two days looking for a solution for it. I hope anyone would help me with it. I'm using knockout to generate bindings with json data for HTML markups. ...
0
votes
2answers
57 views
JSON Key not found
My problem is that I have to POST a JSON object in the following format:
{ "key1": "value1",
"key2": 2,
"options": {
"content": "lorem ipsum"
}
}
But I keep getting ...
0
votes
3answers
37 views
Best method to string together variety of DB calls in Node js
I basically need to make about 3 calls to get the data for a json object.. It basically JSON array of JSON object which have some attributes, one of which is an array of other values selected using a ...
0
votes
1answer
39 views
problems building cascading lists
I have a json that comes from the server (can't be changed) and I need to build a nested unordered list menu.
Here's the jsFiddle - warning! takes a long time to run and this is just sample data - ...
1
vote
1answer
31 views
Accessing multidimensional array from json with jquery [duplicate]
Ok, I'm sure this is simple but I'm not jquery expert. I have an ajax call that has an array returned as a variable. I'm having trouble accessing that array.
Here is what I want to do.
My array ...
0
votes
1answer
61 views
Parsing JS JSON to Ruby [closed]
So I'm working on a small project that involves scraping a forum for data(not spammy).
I have an issue with a JS JSON array, I'm not sure how to make it readable in ruby.
Here's a example of what ...
0
votes
0answers
13 views
Javascript Bookmarklet - Sniff 3rd Party Page, Check/Insert Data using ASP.NET into Database and Then Display Results
This is my first attempt at a question, so bare with me please!
I have been tasked with reading information from a table on a 3rd party page. The website will have multiple pages and thus will have ...
0
votes
2answers
29 views
Binding JSON data in Angular
I'm evaluating JS frameworks to use for a project and I'm stuck between Angular and Ember. Before I finish my evaluation of Angular, I need to know if there is an easy way to bind data to an external ...