I am stuck with handling json values for a while now. I am returning json values in ajax call. Now i want to display the json in a specific format. For example, let the returned values be
{"Heading 1":["Content 1","Content 2"],"Heading 2":["Content 1","COntent 2","Content 3"],"Heading3":["Content 1"]}
I want to display in such a way that
<h4>Heading 1</h4> <input type="checkbox">Content 1<br><input type="checkbox">Content 2<br>
<h4>Heading 2</h4> <input type="checkbox">Content 1<br><input type="checkbox">Content 2<br><input type="checkbox">Content 3<br>
<h4>Heading 3</h4> <input type="checkbox">Content 1<br>
How Should I go about with this?
`, then the value(s) in ``s.
– gen_Eric Apr 17 '13 at 17:10