/source/Plug-in/kind/examples/jquery.html

http://prosporous.googlecode.com/ · HTML · 29 lines · 29 code · 0 blank · 0 comment · 0 complexity · 293b873019aeac7860507cb64f6707c0 MD5 · raw file

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>With jQuery</title>
  6. <style>
  7. form {
  8. margin: 0;
  9. }
  10. textarea {
  11. display: block;
  12. }
  13. </style>
  14. <script charset="utf-8" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
  15. <script charset="utf-8" src="../kindeditor-min.js"></script>
  16. <script charset="utf-8" src="../lang/zh_CN.js"></script>
  17. <script>
  18. $(function() {
  19. var editor = KindEditor.create('textarea[name="content"]');
  20. });
  21. </script>
  22. </head>
  23. <body>
  24. <h3>??jQuery</h3>
  25. <form>
  26. <textarea name="content" style="width:800px;height:200px;"></textarea>
  27. </form>
  28. </body>
  29. </html>