Questions tagged as 'json'

1
answer

Problems with JavaScript to show the values of an object

In the following example you can find a Json with previously established information. The problem is that the identifiers are numeric. How can I extract the textual information? Example Hola mundo . var col = []; var mydata =...
asked by 28.01.2018 / 17:21
2
answers

Bootstrap & Jquery Modal Window - Update content

I am creating a website where clicking on a button opens a Modal window where it shows a series of images. In each of those images there are the download and delete buttons. By clicking on delete I do not know how to make that image...
asked by 29.01.2018 / 12:15
4
answers

I can not get Json on Ionic

I'm having trouble getting the data of my own api and reading them in the ionic app, basically I do not get an error, the get occurs on the server with code 200, but in the app I do not receive anything, thanks for the help JSON response [...
asked by 17.01.2018 / 21:18
2
answers

Get data in response json using Volley [duplicate]

I have this method that connects to an API, basically it should show me a result in a textView, but it shows nothing and I do not know why. Thanks. public void sendResponse(){ String url = "http://www.amiiboapi.com/api/amiibo/...
asked by 17.01.2018 / 23:26
1
answer

Work with JSON data in PHP

I have a variable JavaScript in the following way: var datos ={Tabla: 'Principal' , CampoConsulta:['Nombre','Apellido_Pa','Apellido_Ma'], DatosConsulta:['Juan Luis','Perez','Martinez'], TipoDato:['s','s','s'], Val:[1,2,3] }; This dat...
asked by 04.02.2018 / 03:44
2
answers

How to extract data from a JSON from Java

Hi, I'm trying to use the google API Snapp to road, the problem is that it returns me a JSON and I do not know how to extract latitude and longitude since I want to store them in a database, I'm using java, I would like to the help this is the J...
asked by 31.12.2017 / 00:00
1
answer

Error trying to execute query Object of class mysqli_result could

Here is my code php that what it does is show in JSON the information of the table. if($_SERVER["REQUEST_METHOD"]=="POST"){ include('conexion.php'); $result = mysqli_query($con,"SELECT * FROM localidades").mysqli_error($con); /...
asked by 02.01.2018 / 05:43
2
answers

Tables other than the model

I have a project that we are managing by models in back and front (angular-spring). I made a personalized consultation, to bring me the data in the model, and it brings them well, but if I enter the capture form when trying to save them,...
asked by 27.12.2017 / 21:08
1
answer

Create a select with jquery receiving array from ajax

I need to dynamically create an input to list all the municipalities in a certain state of Mexico, I have my query correctly and from php I am returning the array in the following way. $idestado = (int)$_POST['idestado']; $municipios =...
asked by 10.01.2018 / 02:15
1
answer

Pass data via ajax and php to an HTML table

I try to fill a table in html from a query ajax and php . Problem: I want to get the dependencies of a MySQL table (I only have one added). But in php I input an array to return it to me in the ajax. clases....
asked by 29.12.2017 / 04:38