I have a json object;
a.Name = "John";
a.Nick = "Smith";
a.Info = "hi there";
and some html like this:
<input id="Name" />
<input id="Nick" />
<input id="Info" />
is it possible to automatically set the values of these inputs according the object's property names ?
What I'd like to do is to loop through the object's properties and look for an input with same id and set it's value.