I'm writing a component, and I used the rich text editor (tinymce, gck etc etc) but i cant display the submit button!
when I use the same editor in another component it works fine, when I try the same in my component it disappear...
I'm using this code:
Code: Select all
<script language="javascript" type="text/javascript">
function submitbutton(pressbutton) {
<?php getEditorContents( 'editor', 'message' ); ?>
submitform( pressbutton ); // CAN'T SEE IT
<?php echo "And can't see this echo too..." ;?>
}
</script>
I' also try with a classic
I think I MUST use the javascript code, but how? and why i can't see the submit button? (I think is that one which looks like a floppy disk...)
Any idea???