« Return to the blog entry
I used something different and simpler to me:
1. Put the HTML code into an editable Rich Text Field.
2. Check the "Automatically enable edit mode" on form properties.
3. In the onload event I put the code using innerHTML property
document.body.innerHTML=document.forms[0].borrador.value
In my case I replace all the body HTML with the HTML in borrador rich text field.
It works OK to me.
I used something different and simpler to me:
1. Put the HTML code into an editable Rich Text Field.
2. Check the "Automatically enable edit mode" on form properties.
3. In the onload event I put the code using innerHTML property
document.body.innerHTML=document.forms[0].borrador.value
In my case I replace all the body HTML with the HTML in borrador rich text field.
It works OK to me.