I have the following ARRAY
var array = [
{"productoId":"4","categoriaId":null,"marcaId":"2"},
{"productoId":"87","categoriaId":null,"marcaId":"2"},
{"productoId":"175","categoriaId":null,"marcaId":"20"}
]
This is received by a API as a document .json
of a page, now I need to know the values of any product by javascript and put it in a table in HTML , meaning that if I indicate a product code productoId
the routine javascript look it up in the array and give it to me to show it in the HTML table.
How can I do it?