You are not logged in.
I'm sorry, i have searched for hours but i didn't find anything. Excuse my bad english, too.
Well, i realy love this editor and have worked with old areaedit for a long time. Now i want the new xinha to save the inserted text in a database, with areaedit, that was no problem.
When starting the editor, i catch the text to edit from my database and insert it into the editor window. Thats no problem.
<form id="editors_here">
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea>
</form>
<div id="lipsum" style="display:none">
<?php echo $text; ?>
</div>
<script src="full_example.js"></script>
Now i need a submit-button, which calls my script to save the work. When i modify the form like:
<form id="editors_here" action="save.php">
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea>
<input type="Submit" name="save_me" value="Save the Text">
</form>
... it doesnt take any effect. Only the Button which shows the html source in a alert-windows is visible.
How can I change this?
Thanks for any help.
Offline
See the newbie guide -- http://xinha.python-hosting.com/wiki/NewbieGuide
James Sleeman
Offline
Ok, i 've done it. Think the problem was, that i 've tried to use the full_example.html. Now i edited another one and that works fine.
Offline