Questions tagged as 'json'

1
answer

Bring and display json data with ajax

I have a select in a form, and I want that when selecting an option, it shows me the ones related to it in some input text in the form (to send and save it in BD later). Use an ajax to send the selected value and make the query to the correspond...
asked by 27.09.2018 / 16:26
1
answer

Pass string field to modal form bootstrap

Could you help me solve this problem that I have please? What I'm trying to do is to pass the Client Name from the field $row['NomRazSoc'] of the file " listar.php ", to the modal form " clientes.php " passing as a paramete...
asked by 21.09.2018 / 02:31
1
answer

Datatables shows last record of a timer countdown

I have the following problem that I have not been able to solve. I have a timer (countdown) that is generated by each row of the datatables, which come from a database. This works well, the problem is that in all the rows, it shows me the last r...
asked by 21.09.2018 / 20:36
0
answers

Add individual search columns in the datatables

Your support to be able to add individual search engines in the coupons of my data Table. I found this solution and it works correctly but I only have the search which it looks for in all the columns, but I want it to be for each column. Than...
asked by 20.09.2018 / 21:34
0
answers

Datatable with Ajax and Json in Laravel

I want to list data in json format in a datatable using ajax but I can not tabulate them, I can not detect my error. I hope you can help me, thank you. ROUTES Route::get('/', 'DatatableController@inicio'); Route::get('/datos', 'DatatableCon...
asked by 21.09.2018 / 06:05
1
answer

Line Jump in JSON.NET

on vb.net I am creating a person class and the resulting object has the fields Id, Name, Age. Then, using JSON.NET, I convert that object into a .json file and save it on the hard disk, but when I open it, everything remains in a single line lik...
asked by 18.09.2018 / 19:54
0
answers

PHP ERRORS: Undefined index and PDOStatement :: execute ()

Good evening I need you to please help me with this code since I have tried but I have not been able to give solution. The code of the first doc is as follows: <div class="container"> <div class="row"> <div class="col"&g...
asked by 18.09.2018 / 05:48
1
answer

Extract coordinates of an address with the Google Maps API

I'm building a map with custom markers taken from a MySQL database I have the following var in js with different coordinates var locations = [ {lat: 41.641581, lng: -4.780962}, {lat: 41.681581, lng: -4.740961},...
asked by 14.09.2018 / 10:07
0
answers

cycle foreach duplicates the inserts to the database

I have a JSON that I sent from an android app to a PHP file where I go through it and store it in the PosgreSQL database, the situation is that when there are more than 250 records it always duplicates them ej json takes 300 elements and enters...
asked by 19.09.2018 / 18:56
0
answers

Save JSON as a file to download it in .txt - Javascript

I have this code to first reflect a form in LocalStorage and then pass it to JSON, but I need to download a file with certain data to a text file. I leave the example: function getAllForm(){ var formID = document.getElementById('form...
asked by 17.09.2018 / 19:22