I need help for creating the JSON of the dynamicallly created dom objects which has exactly the same format, which was while receiving the JSON to create the dynamic element.
To simplify thing, I've create a dummy application, which is available in the JSFiddle link provided below.
Now, if you see, in the table I'm getting the data through JSON.
The checkbox values in the table are JSON objects.
When I select any of the checkboxes and click on Save, the corresponding div is generated and displayed.
Now, I want to save this dynamically created DOM structure using the "Save displayed data and create json'" button and also create the JSON which will be of the same format (containg all the properties (irrespective of the fact, whether they were displayed or not in the corresponding parent. for e.g., the phone number, images all the data should be available in the JSON, even it is not displayed but is available in the original JSON).