[Solved] Can someone tell me what wrong with my code? [closed]
[ad_1] JavaScript 101, check your console for errors, there are a few: extra ; inside json undefined _pcost which should be _cost unfinished/incorrect for loop: ; instead of , inside for loops in JavaScript, + the iteration counter missing var data = { “products”: [{ “p_id”: 111, “p_name”: “p_one”, “p_cost”: 100 }] }; var results … Read more