Guest User

Untitled

a guest
Nov 28th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>CKEDITOR.appendTo &mdash; CKEditor Sample</title>
  5. <meta charset="utf-8">
  6. <script src="../ckeditor.js"></script>
  7. <link rel="stylesheet" href="sample.css">
  8. </head>
  9. <body>
  10. <h1 class="samples">
  11. <a href="index.html">CKEditor Samples</a> &raquo; Append To Page Element Using JavaScript Code
  12. </h1>
  13.  
  14. <textarea class="ckeditor" cols="80" id="section1" name="editor1" rows="10">
  15. {VARNAME}<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>
  16. </textarea>
  17.  
  18. <br>
  19.  
  20. <input type='button' value='Код' onclick="console.log(document.getElementById('section1').value)">
  21.  
  22.  
  23. </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment