| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"><head> |
|---|
| 3 | <!-- |
|---|
| 4 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 5 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 6 | --> |
|---|
| 7 | <head> |
|---|
| 8 | <title>Ajax — CKEditor Sample</title> |
|---|
| 9 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 10 | <script type="text/javascript" src="../ckeditor.js"></script> |
|---|
| 11 | <script src="sample.js" type="text/javascript"></script> |
|---|
| 12 | <link href="sample.css" rel="stylesheet" type="text/css" /> |
|---|
| 13 | </head><body> |
|---|
| 14 | |
|---|
| 15 | <input value="FirstButton" type="submit"> |
|---|
| 16 | <form action="sample_posteddata.php" method="post"> |
|---|
| 17 | <table> |
|---|
| 18 | <tbody> |
|---|
| 19 | <tr><td><label for="editor1">I am Read</label> </td> |
|---|
| 20 | <td><textarea id="editor1" rows="4" cols="30" name="nameeditarea"> test </textarea></td> |
|---|
| 21 | </tr> |
|---|
| 22 | |
|---|
| 23 | <tr><td><label for="editor2">I am not Read</label></td> |
|---|
| 24 | <td> |
|---|
| 25 | <textarea cols="80" id="editor2" name="Testing" rows="10"> sample content</textarea> |
|---|
| 26 | <script type="text/javascript"> |
|---|
| 27 | //<![CDATA[ |
|---|
| 28 | // CKEDITOR.replace( 'editor2' ); |
|---|
| 29 | //]]> |
|---|
| 30 | </script> |
|---|
| 31 | </td> |
|---|
| 32 | </tr> |
|---|
| 33 | </tbody></table> |
|---|
| 34 | <p> <input value="Submit" type="submit"></p> |
|---|
| 35 | </form> |
|---|
| 36 | </body></html> |
|---|