Most voted "getjson" questions
19 questions
Sort by count of
-
5
votes2
answers35879
viewsNo 'Access-Control-Allow-Origin' header is present on the requested Resource. Origin 'null' is therefore not allowed access. - Phonegap
I’ve been reading about this json method and I just don’t understand and don’t know what to fix, I’m using another domain to get the json. Here is my code: $(function(){ var url =…
-
3
votes2
answers23455
viewsGet Data in the JSON structure with python
I want to access certain information in the JSON code below, with python: { "informacao1": valor_informação1, "informacao2": "{ dado=informação_dado }" print(arquivojson.get("informacao1")) The…
-
3
votes1
answer241
viewsAccessing a list/array in a JSON URL
I am sending via JSON an array of strings, how can I access this array via url? example of some of the tests: http://localhost:51746/api/Language/Getlanguagelist? key=[spool,error]…
-
2
votes4
answers1194
viewsContents of a JSON in a table cell
How do I get the result of a json and play directly inside a td of my table? It’s right in the form of getJSON? <script type = "text/javascript" language = "javascript">…
-
1
votes0
answers39
views -
1
votes1
answer577
viewsWhat is the best solution for a web login api in Xamarin Forms?
i have the following challenge to solve, I am developing an app using xamarin forms, this application will have to communicate with a website developed in PHP to consume your data, for all functions…
-
1
votes1
answer447
viewsHow to generate JSON dynamically to feed future application?
What I want to do is this: Create a minimalist application that does a database search, returns the result in JSON, and this result is interpreted by external applications via http, with no change…
-
1
votes4
answers1960
viewsBack position in data JSON format or list with Python
I am working with data similar to the structure below: {"Id":1, "Data_inscricao":"2017-01-01", "Texto":"Loremipsum", "Numeracao":26, "Tempo":"25s"}, {"Id":3, "Data_inscricao":"2010-05-02",…
-
1
votes1
answer46
viewsError returning values using $.getJSON
I’m trying to make a page about data from covid-19! I’m trying to get the total number of dead from two different days using the following code: var ontem =…
-
0
votes3
answers825
views -
0
votes1
answer90
viewsModify code to avoid a Xmlhttprequest with $.getJSON
I’m developing an application here, and I use a JSON object for popular, but when I use $.getJSON() Chrome gives the following error: Xmlhttprequest cannot load…
-
0
votes1
answer188
viewsAdd header in Jquery’s getJson function
It is possible to add some header in jQuery’s $.getJson function? I am having cross-origin problems and read in some places that adding some header information can solve this problem.
-
0
votes0
answers39
viewsHow to get this data with $.getJson?
I’ve tried several codes here in the community but I can’t abstract this data from this API in Json. http://governotransparente.com.br/transparencia/api/v1/json/4507590/pessoas/Jose There are…
-
0
votes1
answer491
viewsTake JSON information and insert into the loop html using getJson
Next, I have a table in an html page, example: <table> <tr> <th>nome</th> <th>e-mail</th> </tr> <tr> <td>Jill</td>…
-
0
votes0
answers18
viewsSending information by getJSON
I have a redirect by getJSON, but a few days ago it stopped working for a screen, I can’t find the error. If I put an Alert or a redirect like this : $(Location). attr('href',…
getjsonasked 7 years ago William Silva 1 -
0
votes0
answers47
viewsgetJSON function shows no information on the screen
Good evening Guys, I really need some help. I’m dynamically setting up a table that lists an X number of calls. For this I am using AJAX to query the database and display on the page. So far so…
-
0
votes1
answer49
viewsSimplify Date Request via json
can I return the value of a variable outside the block "in case it would be the variables serverTime and off", say so I can use in another function or in my html code. var xmlhttp = new…
-
0
votes2
answers284
viewsProblems while rescuing data from a json file
I am trying to upload data from a json file to an html table. I’m trying to rescue the json this way: function getJson(){ $.getJSON('dados/livros.json', function(data){ console.log(data); }); }…
-
-3
votes2
answers246
viewsPassing PHP Javascript PHP Parameters
I need to pass a parameters via JSON of a PHP page Javascript PHP, I’m using the Ajax method of Jquery but I’m not getting, follow code snippet. ✓ Index.php <html> <head></head>…