Questions tagged as 'json'

0
answers

Error Message When Adding Data to Form Generated in Phreeze Framework

In all applications generated using the PHP Phreeze framework in local environment (Xampp), when you add a record through the form, which was also generated, you get the following error message for the user:    An unknown error occured...
asked by 17.01.2017 / 21:02
1
answer

Retrofit, response body always null but on server is status 200

I am implementing an Android application using Retrofit 2, the service is generic the server side is working. The problem is: The response.body () is always null, I can never get json, even though I can print it with OKHTTP. How to solve t...
asked by 20.11.2016 / 12:13
1
answer

Autocomplete with typeahead and JSON

I have a project in ASP.NET MVC and in it a script for autocomplete using typeahead with prefetch: $(document).ready(function () { // Sonstructs the suggestion engine var ativos = new Bloodhound({ datumT...
asked by 19.12.2016 / 13:30
1
answer

Error: Array to string conversion - Select multiple Laravel 5

In my View I have: <select multiple="multiple" name="carga_mental[]" class="form-control select2"> @foreach($cadastros->where('key', 'carga_mental') as $carga_mental) <option value="{{ $carga_mental->title }}"> {{...
asked by 22.11.2016 / 18:42
3
answers

method JSON.stringify ()

I have a question about the JSON.stringify() method. Querying these values in a member tab: { "NProjetos": [ { "idProjeto": 2, "nomeProjetos": "SGI" } ], "cargo": "Desenvolvedor",...
asked by 14.11.2016 / 13:21
0
answers

return method JS

I have the following method: $scope.upload = function (files) { if (files && files.length) { for (var i = 0; i < files.length; i++) { var file = files[i]; if (!file.$error) { Uplo...
asked by 08.11.2016 / 21:57
1
answer

Fill DropDown from the selection of another DropDown [duplicate]

I'm trying to fill a DropDown from the selection of another DropDown , basically, when the user selects a state in a DropDown , the cities of this state must be displayed in another DropDown , dynamically . I have t...
asked by 18.10.2016 / 15:35
1
answer

Jquery is returning undefined for one of the generic properties I created

Jquery is returning undefined to one of the generic properties I created, to use with Bootgrid. I am trying to load a modal according to the click event of one of the buttons on the grid, but the modal opens without content. JQuery recognizes th...
asked by 19.10.2016 / 22:18
0
answers

SSE queries overload the browser?

I'm working on a real time web project, which looks for server information through SSE . That is, the first request is made to the server, after which the server will send a JSON every second or half second to the browser. Thinking about an...
asked by 19.10.2016 / 19:06
0
answers

Parse error Json php [closed]

I have an error while mounting a dynamic menu with data coming from mysql. Code that mounts the menu: <div class="easyui-accordion" data-options="multiple:true" style="width:100%;"> <?php $pdo = TConnection::open('teste');...
asked by 25.11.2016 / 03:16