Questions tagged as 'json'

1
answer

Problems with JSON parse in AngularJS

I have a controller that returns a JSON object in the following format: [ {"idCliente":1, "nomeFantasia":"Flores", "razaoSocial":"Transportes Flores Ltda.", "contatosClientes": [ {"idContatoCliente":1, "dddCelular":21,...
asked by 06.07.2015 / 20:43
1
answer

Optimize printing of large SQL Server results through ASP

Today I have a classic ASP page with an unconventional chain-select (read "armengado") that returns a populated select with some data from a sql-server (2005) database. I select the building and return the number of skill floors for delivery...
asked by 06.05.2015 / 13:35
1
answer

how to open a json file and popular in a jquery datatable?

I have a gigantic json file and wanted to open it in a jquery datatable I made a script that populates the .json file into a jquery datatable table, but the problem is that it is not populating the way you would like it to be: link Also,...
asked by 03.05.2015 / 00:06
1
answer

Android - ListView with image via url, how to add one?

I've done a lot of research on adding an image to an android listview item, I'm doing everything via JSON and AsyncTask but I'm having trouble adding that image, someone has an example or a tutorial link that is simple to implement ?     
asked by 30.04.2015 / 13:43
3
answers

Leave fixed paging using jQuery datatable

I have a table and I'm using datatable of jQuery , however, my table has a lot of column, and I made a scroll in it, but in that my pagination scrolls along with the scroll, would have some way to leave the pagination fixed EXA...
asked by 24.03.2015 / 13:43
1
answer

Intermittent problem with Uncaught TypeError: Can not read property 'locac' of undefined

I'm having this problem    Uncaught TypeError: Can not read property 'locac' of undefined With the code: function fnc(){ var evt = (window.event ? window.event : event); var elemento = evt.target; var params = $...
asked by 28.04.2015 / 16:17
1
answer

How to parse a Json with 2 columns in Objective-C?

In a Get using PHP I'm making the request of 2 columns this way: <?php include 'conexao.php'; header('Content-Type: text/html; charset=UTF-8'); //Converte para UTF8 os resultados da query mysql_set_charset('UTF8'); //Retorna resultado query...
asked by 19.02.2015 / 02:53
1
answer

How to load a RecycleView with a list?

I have a List loaded with a JSON from a multi-column and multi-column query: List<Videos> lstVideos = new ArrayList<Videos>(); So far so good. What I need is to load RecycleView with this list. In this RecycleView...
asked by 18.02.2015 / 17:24
1
answer

Application presenting this error: Error parsing data org.json.JSONException [closed]

I was trying to make an application for android with connection to MySQL through webservice and it was giving some problems, but I managed to solve it, but it appeared that when I try to see the products registered in my app my LogCat appears th...
asked by 19.02.2015 / 18:57
1
answer

jQuery autocomplete of multiple words

Using the following javascript code $.getJSON("../JSON/TAGS.json", function(tags) { var tagsArray = []; for(var i=0; i<tags.length; i++){ tagsArray.push(tags[i].tag); } function split( val ) { return val.split( / \s*/ ); }...
asked by 06.01.2015 / 12:18