Posts by Rodrigo Hernandez • 41 points
3 posts
-
0
votes1
answer264
viewsA: Browse JSON with Javascript objects
You can use Object.keys() to get all the Keys coming in JSON, and then use a for to traverse these objects. var json = { "obj1": { "permitido": false, "msg": "erro" }, "obj2": { "permitido": true,…
-
0
votes2
answers53
viewsA: Conditional Checkbox
You can use the tag input with the type="radio" and name="radio". <body> <input class="checkClass" type="radio" name="radio" id="checkbox1"> <label for="checkbox1">checkbox…
-
1
votes1
answer56
viewsA: Display objects inside a jquery table
Since "items" is an array, you need to pass the index of the item you want to appear. Using the myjson that you created for example, it is necessary to concatenate the name, sku and quantity…