PDA

View Full Version : innerHTML not working in IE



ashishgandhi
20 Aug 2007, 5:35 AM
thisDialog.body.dom.innerHtml="<div id='"+frmname+"'></div>";

the above line works fine in FF but not work or showing form in IE.
Am i doing something wrong?

plz help me

Animal
20 Aug 2007, 5:59 AM
frmname has to be unique. If you call it > 1 time without destroying the old element, that might cause a problem.