Hi
Please someone help here !!!!
The WYSIWYG product description editor for a site im working one doesnt work. I spend all day talking and paying programers to solve this but anybody seems to be able.
In my EditProduct.php text area file, when I remove the src="editor.js (see example below)
<script language="javascript1.2">
editor_generate('ProductDesc');
</script>
I am able to see the WYSIWYG text box editor in my admin.
But as soon as I put it back like this:
<script language="javascript1.2" src="editor.js">
editor_generate('ProductDesc');
</script>
The text editor reapear in the admin edit product page, but it doeasnt work. doent aply any HTML feature to the text.
PLEASE HELP
look at an example here: http://www.prologantilles.com/store/item61.html
WYSIWYG in PHP / java problem
Moderator: General Moderators
try this:
Code: Select all
<script language="javascript1.2" src="editor.js">
</script>
<script>
editor_generate('ProductDesc');
</script>- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Use code tags please.
I believe you should try...
Rather because you only want it to run when both are javascript1.2.
http://www.w3.org/TR/REC-html40/interact/scripts.html may be helpful.
I believe you should try...
Code: Select all
<script language="javascript1.2" src="editor.js"></script>
<script language="javascript1.2">
editor_generate('ProductDesc');
</script>http://www.w3.org/TR/REC-html40/interact/scripts.html may be helpful.