JQuery - how to edit the value of elements of a Cloned object?
<p>Here's my HTML.  Apologies for formatting - this is my  first-ever question!</p>

<pre><code>&lt;div id="Template"&gt;
                    &lt;table cellspacing="0" width="100%"&gt;
                       &lt;tr valign="top"&gt;
                                &lt;td&gt; 
                                    &lt;span class="Name" &gt;&lt;/span&gt;
                                    (&lt;span class="Id"&gt;&lt;/span&gt;)

                                        &lt;span class="Addr" &gt;&lt;/span&gt;&lt;br&gt;
                                        &lt;span class="City" &gt;&lt;/span&gt;,&amp;nbsp;
                                        &lt;span class="State" &gt;&lt;/span&gt;&amp;nbsp;
                                        &lt;span class="Zip" &gt;&lt;/span&gt;&lt;br&gt;
                                &lt;/td&gt;
                     &lt;/tr&gt;

                    &lt;/table&gt;
</code></pre>

<p></p>



<hr>

<p>Here's my JQuery so far:</p>

<pre><code>$.getJSON(serverURL,{  id: X  },
        function(data) {

          $.each(data, function(key,val){
               var clonedDiv= $('#Template').clone();

              //"Each" below represents the various data members of the object currently being processed.
              $.each(val,function(key2,value){

                  //Below are the only Keys needed so skip the rest.
                  if (key2=='Id' || key2=='Name' || key2=='Addr' || key2=='City' || key2=='State' || key2=='Zip'){
                      alert('Key2:'+key2+' val2:'+JSON.stringify(value));
                ///INSERT VALUE INTO NEWLY-CLONED DIV SPAN CHILD HERE???      
                  }

              });
              $('#TemplatePrev').append(clonedDiv);
          });
        })
.success(function() { 
    alert('success'); 
})
.error(function() { alert('error'); })
.complete(function() { 
    //alert('complete'); 
});
</code></pre>

<p>When the above is run, there are 10 objects returned by the JSON call and the JQuery clones 10 DIVs that look like the #Template div.   However, I need to shove that JSON Stringified value into each span dynamically.   Any idea how to do this?   I've been at this for 2 hours before breaking down and posting here.  Thanks in advance!</p>
