Questions tagged as 'json'

1
answer

JSON invalidated in DataTable

Code for Datable $('#alumno').dataTable( { "ajax": { "url": "aprendizaje/alumnos/select", "dataSrc": "", "columns": [ { "data": "id" }, { "data": "matricula" }, { "data": "nombre" },...
asked by 20.10.2017 / 14:53
0
answers

Pass data to ajax

I have an array of JSON strings and I want to pass it to ajax, but I do not know how to send it and how to receive it from the server side, any ideas? $.ajax( { url: "WebS/webServices.aspx/funcion", type: 'POST'...
asked by 09.10.2017 / 18:14
1
answer

doubts about response time json ajax

I have a query in which I consult a record which I do with ajax and I get the data in json. now my questions is how I could optimize the response time since for example the query takes about 4 seconds, the table that I consult has ten rows, then...
asked by 31.10.2017 / 23:57
0
answers

Show data from json to a datatable in php

Good evening; I hope you can help me, I have a small problem when displaying the data within a datatable, the data if they are shown in the index but not within the datatable. This is the JS code inside my index.php $(document).ready(functi...
asked by 01.10.2017 / 05:08
1
answer

Error Deserializando Json

Server code public class TestController: ApiController { public string Get() { Users user = new Users { name = "Hola", surname = "Mundo" }; var response = JsonConvert.SerializeO...
asked by 01.10.2017 / 13:53
1
answer

How to check the content of readValue

You'll see I'm messing around with the NBA API and I have this json in particular link Then I have a Parser class public class Parser { private Map<String, Object> otherProperties = new HashMap<String, Object>();...
asked by 26.09.2017 / 17:15
1
answer

Form with image, ajax and phpmailer

I am trying to make a request POST but all the data is sent except the image. How can I solve it? JavaScript $(function () { $("#botonEnviar").click(function () { var nombre = document.getElementById("nombre").value; var c...
asked by 17.09.2017 / 18:37
0
answers

JS: add data to the colors of the lines so that it affects thickness

I am currently experimenting with this code and would like to add data behind each generated line so that it also affects its thickness. I am new to this tool and I would like support. var nwalls=100; var walls=[]; var hgrad; function...
asked by 03.09.2017 / 15:41
1
answer

How to make a json array: $ in swift 3?

Hello, I need help, I do not know how to do a JsonArray in swift 3, the only thing I've achieved is to do this: { "Etiqueta":"valor", "":"", "":"" } and what I need to do is this: [ { "Etiqueta":"valor", "Etiqueta":"...
asked by 16.09.2017 / 02:22
0
answers

I need to activate ssl in a web project, but it does not work [closed]

Good, I have a project from the uni to a virtual classroom, right now I am with the board this link But run in port 9002 Try adding ssl and the service does not run. ask in the repository link and try that but it does not work anyway, can so...
asked by 15.09.2017 / 16:51