Thanks all, it looks like what I ment :) Tomas
On Aug 21, 6:20 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: > Check this out:http://jquery.bassistance.de/validate/demo/tinymce/ > > Jörn > > On Fri, Aug 21, 2009 at 5:49 PM, D A<dali...@gmail.com> wrote: > > >> Is it possible to inject somewhere inside validate() some action > >> before it is validated....e.g. copy all content first to textarea. > > > Tomas: > > > I believe you have to attach the onClick event to the form submit > > button for TinyMCE to move the content into the textArea. > > > I think you could probably just remove that event and call that event > > via jQeuery after you validate. > > > $("#submit").click(function(){ > > // put your TinyMCE moveContentToTextArea function here > > // validate the text area > > // if valid, submit else cancel > > }):; > > > -Darrel