You are not logged in.
Pages: 1
Hi All,
Im currently using Xinha with PHP and it seems to work fine, one thing that bugs me is that the update buttons are outside the editor. I know there is a save button I just dont know what to do to make it work on the main Xinha toolbar anyone got a solution for me.
Cheers,
Sam
Offline
take a look in htmlarea.js line 433
(currently no better documentation is avalibalbe)
as action you might use this to submit the form:
function(editor) { editor._textArea.form.submit(); }
Niko
Offline
Niko,
thanks for your response, I added the information and have managed to get it to submit, however the changed content in the textarea doesnt seem to be coming through? What have I missed?
Cheers,
Sam
Offline
sorry, use:
function(editor) { editor._textArea.form.onsubmit(); editor._textArea.form.submit(); }
Niko
Offline
Thanks Niko works like a dream...
Offline
Niko,
I have another quick question . How do I now disable (grey out) the save button when my users dont have authority to save?What do I have to set in the html for the save button to be inactive?
Cheers,
Sam
Last edited by sammy (2005-06-11 21:25:22)
Offline
Pages: 1