Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Insert data in to the textbox in PHP Reply To: Insert data in to the textbox in PHP

#169525
dnyanesh
Participant

Hey Traq ,

Good morning..
i need your help for cke editor . i am trying to include ckeditor in HTML code but it is not working. i have included ckeditor.js files in the file.

i want replace textarea with ckeditor but its not working . please help me out
here is the code .

<!DOCTYPE html>
<html>
<head>
<title>A Simple Page with CKEditor</title>

    &lt;script src="ckeditor.js" &gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form&gt;
        &lt;textarea name="editor1" id="editor1" rows="10" cols="80"&gt;
            This is my textarea to be replaced with CKEditor.
        &lt;/textarea&gt;
        &lt;script&gt;

            CKEDITOR.replace( 'editor1' );
        &lt;/script&gt;
    &lt;/form&gt;
&lt;/body&gt;

</html>