[Solved] Adding data dynamically from one json object to another
You’re pretty much going to need a server-side process if you want to save your changes. You can load the JSON via ajax: $.ajax({ url: “/path/to/friends.json”, dataType: “json”, success: function(data) { // Here, `data` will be the object resulting from deserializing the JSON // Store `data` somewhere useful, perhaps you might have a `friends` // … Read more