| 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"> |
|---|
| 3 | <head> |
|---|
| 4 | <title></title> |
|---|
| 5 | <script type="text/javascript" src="/ckeditor/ckeditor_source.js"></script> |
|---|
| 6 | <script type="text/javascript"> |
|---|
| 7 | |
|---|
| 8 | function showVal() |
|---|
| 9 | { |
|---|
| 10 | alert( CKEDITOR.instances.ta_research_degree.getData() ); |
|---|
| 11 | } |
|---|
| 12 | |
|---|
| 13 | </script> |
|---|
| 14 | </head> |
|---|
| 15 | <body> |
|---|
| 16 | <div> |
|---|
| 17 | <textarea name="ta_research_degree" id="ta_research_degree" cols="0" rows="0"></textarea> |
|---|
| 18 | <script type="text/javascript"> |
|---|
| 19 | |
|---|
| 20 | CKEDITOR.replace( 'ta_research_degree' ); |
|---|
| 21 | |
|---|
| 22 | </script> |
|---|
| 23 | </div> |
|---|
| 24 | <div> |
|---|
| 25 | <input type="button" name="btn_add_degree" id="btn_add_degree" value="Test" onclick="showVal()"> |
|---|
| 26 | </div> |
|---|
| 27 | </body> |
|---|
| 28 | </html> |
|---|