I have created a custom WYSIWYG editor for editing an XML file. I have used an <iframe>
for this.
I have parsed the XML file and all the contents in a variable. How can I place this content in the <iframe>
?
I tried this code but it is not working:
<iframe id="textbox" style="width:300px; height:150px" >
<?php echo $content ?>
</iframe>
Is their any javascript code for this.Thanks in advance.