title: reflection in javascript/jQuery
body: <p>I have a json object;</p>
  
  <pre><code>a.Name = "John";
  a.Nick = "Smith";
  a.Info = "hi there";
  </code></pre>
  
  <p>and some html like this:</p>
  
  <pre><code>&lt;input id="Name" /&gt;
  &lt;input id="Nick" /&gt;
  &lt;input id="Info" /&gt;
  </code></pre>
  
  <p>is it possible to automatically set the values of these inputs according the object's property names ?</p>
  
  <p>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.</p>