You are not logged in.
Pages: 1
Hello,
I'm using the simple example which is
<script type="text/javascript">
var _editor_url = document.location.href.replace(/examples\/simple_example\.html.*/, '')
var _editor_lang = "pt_br";
var _editor_skin = 'blue-metallic'
</script>
<script type="text/javascript" src="../XinhaCore.js"></script>
<script type="text/javascript">
var xinha_plugins = [ 'Linker', 'Equation', 'ImageManager' ];
var xinha_editors = [ 'myTextArea'];
function xinha_init()
{
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
var xinha_config = new Xinha.Config();
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);
}
Xinha.addOnloadHandler(xinha_init);
</script>
But I've found a problem, and submitting it I can't find the Xinha's text area variable...
I mean, I'll do all things I want to on my Xinha's text area in this case 'myTextArea' but when submitting the form I just get the POST variable of myTextArea as empty
Is it possible to have access to the xinha's text area variable after or before I submit the form? because if I can get it before submit, I could make a javascript or something else to receive the information of Xinha's text area...
Thank you for your help.
Yours,
Diogo Araujo
Offline
If you call Xinha.updateTextareas(), it will copy the document contents to the textarea...
Offline
Thanks!!!!!!!!!!!!!!!!!!
Offline
Pages: 1