I'm using jHtmlArea (http://jhtmlarea.codeplex.com/) WYSIWYG editor in one of my current projects. I have managed to integrate it in my forms in few seconds but the problem is that after submitting the form, the textareas changed to jHtmlArea editors return an empty string.
I confirmed this with:
var_dump($_POST);
Does anybody have any ideas where could be the problem?
Here is how I include the jHtmlArea in my pages:
<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/js/jHtmlArea/jHtmlArea-0.6.0.min.js"></script>
<script type="text/javascript" src="/js/jHtmlArea/init.js"></script>
Where init.js is:
$(document).ready(function() {
$("#jHtmlArea").htmlarea();
});
And my textarea looks like this:
<textarea name="body" id="jHtmlArea" rows="10" cols="50"></textarea>