I was trying to load my XML UI into html div. I tried below way but UI does not come up.
Can you please suggest what is that I am missing?
My jsp has below code
<form id="myHTMLForm" method="POST" enctype="multipart/form-data" "> <div id="mydiv"/> </form>
Js has below code :
layout_addfile.attachObject(document.getElementById("myHTMLForm")); var myFileForm = new dhtmlXForm("myDHXForm"); myFileForm .loadXML(context + "/action/actionfile?op=loadAddfileForm&e=" ); layout_addfile.attachObject(myFileForm );