Questions tagged [getjson]
Load JSON-encoded data from the server using a GET HTTP request.
getjson
1,967
questions
0
votes
0
answers
34
views
why does getJson to retreive server directory list works with liveserver but not with html-live-server
I am writing a full stack app to control measurement equipment. For the moment I am working on the frontend. My IDE is Visual Studio Code 1.87.1,Live Serveerv5.7.9(Ritwick Dey), html-live-server v0.2....
0
votes
0
answers
55
views
How to convert date json to php
I have a problem receiving the date in PHP page
i send date with getJSON function from html page to php page
this code in js
var start = moment().subtract(29, 'days');
var end = moment();
...
0
votes
0
answers
40
views
Post value with getJSON function to php
I need to send the new date to the PHP page to update the chart based on the user's choice.
this my js code when load page :
$.getJSON("chart.php", function (data) {
var chart = new ...
0
votes
0
answers
14
views
jQuery getJSON method takes authentication header from some other process [duplicate]
There is a JavaScript snippet that does
$.getJSON(....)
Depending how the page loads it sometimes puts "Authentication" header to the request which comes from some other JavaScript code that ...
0
votes
1
answer
30
views
jQuery getJSON return data
I want return data from the jQuery getJSON method out of a function.
console.log(loadJson());
I think the failure is that I used a function in a function and my return is in the inner function. I ...
0
votes
0
answers
25
views
jquery getJSON handle long wait time
I have some jQuery that is interacting with a script that controls a credit card terminal. It uses getJSON and has a long wait time, because it is waiting for them to interact with the terminal. The ...
0
votes
1
answer
38
views
problems with parsing arguments jquery: $getJSON --> php:$_GET
I want to invoke a php program from javascript and send relevant info by $.getJSON from the js side to be processed to the php module through $_GET.
Thankful for any helpful suggestions
Cheers, Nisse
...
0
votes
1
answer
81
views
Why JQuery.getJson executed after my loop?
I want my data to be sorted
as i can see the pokeparser function gives a url every time but getJson is executed after the end of the loop, how can it be done at the same time?
let counter = 151;
for(...
0
votes
1
answer
41
views
iterate through multinested json object with for loop
I've been trying to loop through a mulitnested json object but everytime it displays undefined. I've wanted to display playcount and the name of the song. I plan on using this with a bar chart.
I ...
0
votes
1
answer
28
views
How handle $.getJSON file with strings and integer?
how can I parse Integer from the JSON file?
Or what is the problem below?
$('#search').keyup(function(){
var searchField = $('#search').val();
var myExp = new RegExp(searchField, ...
0
votes
0
answers
97
views
Which is the fastest hive UDF btw LIKE , get_json_object and json_stupple
I am working on an hive query that needs to count an enormous amount of data reported in a table like this one:
table[ |column_name |
| (...) |
|{"data":"...
1
vote
1
answer
2k
views
How to open my app documents directory with Android File Manager
I've been trying to figure out a way to open the Android File Manager directly in my app's Documents directory so the user can select a JSON file among several without requiring the user to go search ...
0
votes
2
answers
277
views
Autocomplete with jQuery
I have been trying to build a simple jQuery Autocomplete. The ajax query returns a JSON String formatted like this below
[[{"stockkeepingunitname":"LIT","stockkeepingunitid&...
0
votes
1
answer
198
views
cannot use await despite using an async function in codepen
So I ran the exact code in codepen, but its giving me an error that I cant use await despite the function being async? I am trying to make Javascrypt wait untill the data is returned from the link.
...
0
votes
1
answer
106
views
assign data query to each Polygon with bindpopup Leaflet in Codeigniter
i wrote some codes in Codeigniter to assign query result into each polygons with $.getJSON but i found some problems.
Here is my $.getJSON code
$.getJSON("<?php echo base_url(); ?>Request/...