0
votes
0answers
11 views

JavaScript scope with JSON object

This function is called when an element is clicked. It creates a string based on what element was clicked, and then looks up the value associated with that string in a JSON object. It then alerts that ...
0
votes
1answer
20 views

Google charts not cooperating with me

I have a few issues with google chart: I want the Y-axis to be from 0 to 20 and a grid-line should occur every 2 points: So I'll have 0,2,4,6,8,10,12, etc and I'm trying to achieve that with this ...
0
votes
0answers
19 views

Sending database row dynamically to the client

I have two columns in a database, a word and a score between 0 and 1. There are hundreds of thousands of rows in the db. I have a website, where the client writes words. The logic at the client is ...
0
votes
0answers
22 views

Change att of the video to its corresponding item when you press the enter key

I have an application for podcasts and accurate when press the "enter" just change the attribute of the corresponding item of the video, however can not reload the page, just change the video. Anyone ...
-3
votes
1answer
30 views

Reading the json in javascript [on hold]

Could you please help me how to read the json file using java script. Please find the json file below. { "2013\/02\/05":[ ...
4
votes
3answers
55 views

Read json from php server

I want to read json from php server using javascript (not jquery) like xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { json = ...
0
votes
0answers
33 views

Select menu item link returns undefined

The action that I want is to change the video to their respective item when keyboard "enter" but it returns me an error "UNDEFINED" has something to do with the plugin I'm using to select items. ...
0
votes
1answer
24 views

Can not fetch json content from remote web address

I am trying to fetch the data from http://status.mojang.com/check but i am not getting any data back. However i am getting the data in my response tab (google chrome) I am running it on a webserver ...
0
votes
1answer
20 views

Grouping values in grid panel after double clicking

I want to group the values in grid panel Below is the code: var store = Ext.create('Ext.data.TreeStore', { root: { expanded: true, children: [ { text: "School Friends", expanded: ...
0
votes
0answers
9 views

Get Sharepoint 2013 List Items data from certain fields with javascript and REST

I'm trying to get list item data from certain columns(fields) from a certain list. I can get the items and the fields from individual REST calls and parse them fine. My question is: is it possible to ...
0
votes
1answer
19 views

Error in making cross domain request using jquery for json content

I am trying to call a service which returns the data in json format. I am using jquery-ajax request to get that response data. $('#butCallAjax').click(function () { $.ajax({ ...
0
votes
2answers
19 views

TypeError: Converting circular structure to JSON: Is there any way to ignore this warning?

I am trying to send a complex data structure composed of objects with arrays that have object with arrays that have object with arrays that may point to the first object, etc... and I get this error: ...
-1
votes
0answers
45 views

How to get multiple json arrays in one for loop?

I am getting data from JSON in which data and data2 these two json array are present. I am getting data through the for loop. For this I am executing two for loops but only one for loop which is at ...
0
votes
0answers
20 views

Change and save pickable objects with help of prompt box

I have a problem with pickable objects. I read from a JSON-File single points with the following code: var p = data.BLGProject.Model.building[bui].Floor[flo] ...
0
votes
0answers
19 views

How to Pass JSON object to GOJS javascript file from Java/Prime Faces

I have a java class which returns a JSON object and I need to pass this JSON object to gojs javascript, here is the sample of my gojs javascript file(gojs_org_view.js) function init() { var g = ...
3
votes
4answers
33 views

Converting enums to array of values (Putting all JSON values in an array)

I use this method Enums in JavaScript? to create enums in our code.. So var types = { "WHITE" : 0, "BLACK" : 1 } Now the issue is when I want create validations anywhere, I have to do this; ...
0
votes
0answers
9 views

Mapbox marker property update: Why doesn't this work?

Working with the Mapbox JS API and am wondering why Marker properties cached in variables don't update, but their non-cached counterparts do. For example, this will update the marker's custom state ...
0
votes
2answers
77 views

Why am I unable to call the jQuery function?

I'm using jquery-1.9.1.min.js. My HTML is as follows: <div id="practice_sheet"> <form name="manage_practice_sheet" id="manage_practice_sheet" action="practice_sheet.php" method="post" ...
-1
votes
0answers
45 views

Retrive data from json object [duplicate]

I have the below json.I have to retrive the lName of Tag1 and tag2 which is under TagDic dictionary. TagDic is under the TagList object. I have to also find the TagDic length. var data = { ...
-3
votes
3answers
51 views

How can I retrive lName of Tag1 and Tag2 using javascript? [on hold]

This is my json object. var data = { "CostCarrier": 0, "TagList": [ { "Index": 0, "TagDic": { "Tag1": { ...
2
votes
1answer
69 views

Issue parsing JSON child elements [on hold]

Here is my JSON String "book_types": { "type": "1", "books": [ { "name": "default", "cover": null, "lastUpdated": { ...
0
votes
4answers
25 views

Getting an error with this JSON response

I keep getting the error: Uncaught SyntaxError: Unexpected token ' this is the full JSON response: 'app': {type: 'app', desc: 'Application'}, 'iso': {type: 'iso', desc: 'ISO Disk Image'}, 'fla': ...
0
votes
1answer
48 views

Change attribute coming from JSON

Need in the list when you press "enter" on the item, switch to the corresponding video ie change the attribute the <video> tag src="". The path to the JSON Videos: ...
0
votes
3answers
38 views

Can't access json data

I know this is a simple question, but I can't access the data in my json object. It looks like this: var string={"data": [ { "city": "Gansu", "value": "#000" }, ...
0
votes
0answers
20 views

Convert Tweet ID String to a higher base (ie. Base64)

Tweet IDs are 64 bit decimals stored as strings since JavaScript cannot handle 64 bit integers. I want to store my Tweets in a Database as JSON using the ID as the key. To keep the database small, I ...
1
vote
2answers
57 views

Ajax not calling callback function

I am trying to get a JSON object from a service running on port 8080 on my server. I have implemented the following JavaScript and PHP code to achieve this: JavaScript: $.ajax({ type: 'GET', ...
0
votes
3answers
34 views

Javascript class with jQuery and JSON

i'm creating a function that i wanna use as class on javascript. My function, will call an JSON page create with php parse json, and set the vars, but it doesen't work. May you can give me some hints? ...
0
votes
0answers
27 views

django request.user.is_authenticated() isn't returning true after page refresh (sometimes)

I have a registration form. After it is submitted, the page refreshes and I get some information back based on request.user. Sometimes request.user.is_authenticated() is returning True and everything ...
0
votes
1answer
14 views

Recalling data from a JSON array in Javascript error

I managed to get the JSON array into (look http://yrs2013.bugs3.com/mpapp/getSTORY.php?url=http%3A%2F%2Fcontent.guardianapis.com%2Fsearch%3Fq%3DJohn%20Stevenson%20mp%26page-size%3D3%26format%3Djson ...
0
votes
2answers
37 views

AJAX success callback JSON undefined

Here is the JSON returned from my php: { "approvalSource":[ {"role_name":"role_1","approval_req_id":"3"}, ...

1 2 3 4 5 371
15 30 50 per page