Hi,
I have problem with textarea name - "description", because this name is use in heades.
Example:
<textarea name="text"><?php echo $product['description']; ?></textarea>
<script type="text/javascript">CKEDITOR.replace('description');</script>
How can I run CKEditor? Can I use ID instead of NAME?
I have problem with textarea name - "description", because this name is use in heades.
Example:
<textarea name="text"><?php echo $product['description']; ?></textarea>
<script type="text/javascript">CKEDITOR.replace('description');</script>
How can I run CKEditor? Can I use ID instead of NAME?
Re: Duplicite tag name
<textarea name="description" id="fid-description"><?php echo $product['description']; ?></textarea>
<script type="text/javascript">CKEDITOR.replace(document.getElementById('fid-description'));</script>