I have the following JSON, which each record has a city, but the same city can be in many records at once.
{
"data": [
{
"numero": "123",
"nombre": "jorge",
"ciudad": "Tokio"
},
{
"numero": "222",
"n...
I try to show my Object from a GET service but I can only see [Object] [object].
Service:
return this.http.get('http://localhost:3000/words').map((res: Response) => res.json());
Controller:
export class WordsComponent implements OnI...
I have a condition that will be executed depending on the data that is being sent to the procedure.
This is my code:
CREATE DEFINER = erp@localhost PROCEDURE sp_stockProductoMovimientoAlmacen(
idProducto VARCHAR(50),
operacion CHAR(6),...
I have 3 JSON : clinics, location and specialty, I'm trying to filter by location and by specialty with Javascript, the idea is that selecting the 1 or 2 filters together hide images from the page. The problem I have is that it works parti...
What I want to do is send 2 lists in a JsonResult method and receive them in Ajax. Because I have a table from many to many, I need to change the IDs by names. So I need you to return the name of things.
public JsonResult GetHerramientas(int I...
I am currently wanting to convert an object into swift of this class
class UsuarioServer{
var username:String?
var password:String?
var nombreCompleto:String?
var direccion:String?
var edad:String?
init (username: String, password: String, no...
my question is how to make an event a click pull out an item from a json in particular, that every time a click on a name appears the same name
If I click on value: 1 send me the same name in a log and I could not get it
My code...
I have created a restful api that obtains a list of coordinates that are stored in a database that follows the following format: / devices / 1 / gpses / 0, where the first number is the identifier of the device we want to see and the second is s...
I am trying to run a json which I previously obtained from php. But when I try to run it to show it, it sends me this error in the console.
I'm new to javascript and ajax, my goal is that json, is an array of a query made in mysql, when I...