PHP Web Ewebeditor Editor Embedding Method _ Page Editor
Source: Internet
Author: User
(1) Add the following code before <script> function Checkform () { Document.form1.content. Value = Window.ewebeditor. gethtml (); Gethtml () Get Edit area content The name here Ewebeditor to be the same as the Name= "Ewebeditor" in the IFRAME Content.value should also correspond to the <input > in content } </script> (2) The following code is to embed ewebeditor into the Web page: <tr> <TD align= "Right" width= "5%" > Content: </td> <TD width= ">" <input type= "hidden" name= "content" id= "content" value = "" > Id= content in the "content" to be the same as the id=content in <iframe>! <iframe id= "Ewebeditor" name= "Ewebeditor" src= "ewebeditor/ewebeditor.php?id=content" frameborder= "0" scrolling= " No "width=" 100% "height=" 450 "> </iframe> </td> </tr>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service