title: How to bind object as a json string to another html element on JQUERY Template plugin
body: <p>Actually i tried to find it but i was lost in plug-in lines while debugging.
  I want to show how it is working because there are different template plug-ins.</p>
  
  <pre><code>$("#teplateScript").tmpl(arrOfWhatWeWantToBind).appendTo("#divElementwhichWillContainTheOutput");
  </code></pre>
  
  <p>I want to serialize every element of array(to json of course) with <code>JSON.stringify</code> and set the hidden element in the template. If i serialize object and add the output to the same object with another property, i could access it but i want to do this in the template like:</p>
  
  <pre><code>&lt;script type="text/html"&gt;
     &lt;div&gt;$(propOfElement)&lt;/div&gt;
     &lt;input type="hidden" id="hdnObj_${idOfElement)" value="JSON.stringif( ?.....? )" /&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>What should i write to instead of <code>?....?</code> place ?</p>