I have dhtmlx form and dhtmlx window declaration like this :
<script>
dhxWins = new dhtmlXWindows();
dhxWins.attachViewportTo("winVP");
w1 = dhxWins.createWindow("w1", 20, 30, 400, 280);
w1.attachObject("myForm");
</script>
<div id="myForm" style="height:100%; display: none;">
<div id="form1" style="height:150px; overflow:auto;">
<ul class="dhtmlxForm" id="myFormContent" name="myFormContent" style="height:50px;">
...
</ul>
</div>
<div id="form2" style="height:50px; overflow:auto; background:#0F6;">
<ul class="dhtmlxForm" id="myFormFooter" name="myFormFooter" style="height:50px;">
...
</ul>
</div>
</div>
my question how to access form in javascript? thanks.