<strong>Inngress:</strong><br> <textarea id="nyhet_ingress" name="nyhet_ingress" cols="80" rows="10"><?php echo $user['nyhet_inngress']; ?></textarea> <script type="text/javascript"> //<![CDATA[ // Replace the <textarea id="editor"> with an CKEditor // instance, using default configurations. CKEDITOR.replace( 'nyhet_ingress', { extraPlugins : 'uicolor', uiColor: '#158189', toolbar : [ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ], [ 'UIColor' ] ] } ); //]]> </script>
Now, why is this all messed up? I just cant get it to work. Even if I copy the sample code in directly, it still looks like that, while looking at the samples, they work!
I got <script type="text/javascript" src="ckeditor/ckeditor.js"></script> in the head area of my Index.php. While the other code is in the file that its needed in.
So its like this
index?s=editnews
Re: Textarea doesnt work!