how to dynamically create elements in a child window from a parent window
<p>im trying to dynamically create elements in the child window based on the values i have in the  the parent window but no success.The child window is opening but not with the elements.Here is the code i've written,could some one please have a loot at it ? is this possible at all using javascript/jquery></p>

<pre><code>function fnOpenPrint(){

openPrint = window.open('print.htm');
childWin = openPrint.document;

var newDiv = childWin.createElement("&lt;div id='para'&gt;")
newDiv.innerHTML = document.forms[0].txtBranch.value;

}
</code></pre>
