[Solved] How to update Json object value dynamically in jquery?
jsonObj is an array thus you first have to iterate this array jsonObj.forEach(o => {…}); o is now an object. You have to iterate the keys/values of it for(let k in o) k is a key in the object. You can now alter the value o[k] = ‘WhateverYouNeed’ var jsonObj = [{ “key1”: “value1”, “key2”: … Read more