Questions tagged as 'json'

0
answers

My jQuery is not able to work the json it received from the back

Well, I've been trying to sort this out since yesterday. Well I'm doing an ajax request for my backend. So far so good, the data comes in and runs right, they do what I want. I return an array converted to Json. When I get into my jQuery, I can...
asked by 10.06.2017 / 14:01
0
answers

How to limit the amount of items listed using Ionic and JSON?

I solved my table with 55,000 items. The result link is this one: link Now my application can not read everything. I need to limit reading. I'm not sure how. Follow my controller: .controller("promocoesCtrl", function ($scope, $r...
asked by 21.06.2017 / 15:41
1
answer

json php + javascript

I need the following: I get what was typed in the input with the code below and move on to the url: link <script> $(document).ready(function(){ $("form").submit(function(e){ if(!$("form").hasClass("valid")){ $("form").addClass("l...
asked by 12.06.2017 / 16:17
1
answer

How to get only one element from an associative array

I'm pulling from the Cosmos API the data of a product, it returns me a json that I converted to an array string using $array = json_decode($data); When I run var_dump($array) it returns me this: object(stdClass)#34 (15) { ["d...
asked by 08.06.2017 / 20:02
0
answers

How to Edit table values via JQUERY after recieving a web service

I need to create functions to edit / change and delete values from the table that arrives via JSON from a web service, the part of the webservice to handle what will be sent I know how to do, how do I do this on the side of JQUERY? p> HTML Cod...
asked by 08.06.2017 / 21:19
1
answer

Long or Date in JSON

Applications, one server and multiple clients, POST and GET to the server exchange JSON objects. One of the variables that goes along with JSON is datahora atual , I see different Strngs to represent d...
asked by 07.06.2017 / 18:03
1
answer

Real-time search saving server?

Hello, I created a script in jQuery that queries the database, based on what the person typed in a input field. With each key that the user types, the script makes a new request for my API and this is a problem, since I inte...
asked by 07.06.2017 / 00:15
1
answer

change data JSON.stringify

I have a form with several fields when, I have a function that when submitting the form captures the fields: $('.form').submit(function () { var dados = JSON.stringify(jQuery(this).serializeArray()); alert(dados...
asked by 24.06.2017 / 17:01
0
answers

Problems with foreach in php

I made a foreach with PHP and a .json file to simulate a mini store inside a thumbnail in a slide , but it is not appearing properly side of the other as it should be. I wonder where I'm going wrong. How are you curren...
asked by 14.06.2017 / 04:44
1
answer

Get JSON return without "result" in Ajax or return without "result" in Delphi

I'm generating JSON in Delphi with mORMot and I need to get it on a page to generate graphics with Google Chart , but Delphi returns me JSON within a result . I just put the string in a function...
asked by 22.05.2017 / 19:26