Navigator : Home > Replace Textarea or Div Elements Using JavaScript Code
This sample shows how to automatically replace all <textarea> or <input> or <div> elements with a eWebEditor instance by using a JavaScript call.
To replace a <textarea> element, place the above call at any point after the <textarea> element or inside a <script> element located in the <head> section of the page, in a window.onload event handler.
Example 1:Replace <TEXTAREA>, Config:(style=coolblue,width=550,height=300)
Example 2:Replace <DIV>, Config:(style=coolblue,width=100%,height=350)
This is Replace DIV. You are using eWebEditor.