[jQuery] Re: Validate() and TinyMCE problem

2007-06-27 Thread Diego A.
I've started a new thread here: http://groups.google.com/group/jquery-en/browse_frm/thread/f649148d8ff5511a ...so more people can check it out and tell us what they think. On Jun 27, 6:15 pm, "Diego A." <[EMAIL PROTECTED]> wrote: > Ideally... > OR, the FCK plugin could integrate itself to the oth

[jQuery] Re: Validate() and TinyMCE problem

2007-06-27 Thread Diego A.
Ideally... OR, the FCK plugin could integrate itself to the others the same way I integrate it with the Form plugin. But since we're talking about mix- matching plugins, this would require some feedback from the plugins' authors... eg.: // find existing method to override if($.fn.ajaxSubmit){ /

[jQuery] Re: Validate() and TinyMCE problem

2007-06-26 Thread Jörn Zaefferer
Diego A. wrote: Sorry about the delay... I took long to reply because I've been away on holiday. Here's a little something I've put together: http://www.fyneworks.com/jquery/FCKEditor/ Let me know what you think! Looks good. It wouldn't hurt to provide explicit methods for init and update.

[jQuery] Re: Validate() and TinyMCE problem

2007-06-26 Thread Diego A.
Sorry about the delay... I took long to reply because I've been away on holiday. Here's a little something I've put together: http://www.fyneworks.com/jquery/FCKEditor/ Let me know what you think! On Jun 12, 8:28 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Diego A. wrote: > > Keep in mind I

[jQuery] Re: Validate() and TinyMCE problem

2007-06-12 Thread Jörn Zaefferer
Diego A. wrote: Keep in mind I don't using TinyMCE, I use FCKEditor, but the principle should be the same... Basically, I write a small plugin that is responsible for 1. Creating an instance of the editor 2. Retrieving the HTML content from the editor and 'preparing' it for form submission For

[jQuery] Re: Validate() and TinyMCE problem

2007-06-11 Thread Diego A.
Keep in mind I don't using TinyMCE, I use FCKEditor, but the principle should be the same... Basically, I write a small plugin that is responsible for 1. Creating an instance of the editor 2. Retrieving the HTML content from the editor and 'preparing' it for form submission For example... $.FCK.

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread Jörn Zaefferer
Luc Pestille wrote: That was exactly what I was looking for, thanks Buchs. In my case it was the below, just before I call validate(); $('#admin-jobs .submit').click(function(){ if (tinyMCE){ tinyMCE.triggerSave(); } }); I don't know if this could be integrated in to validate() itself

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread Luc Pestille
, so that other people don't have to come asking/searching for the answer? Luc Pestille Web Designer -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bbuchs Sent: 07 June 2007 14:00 To: jQuery (English) Subject: [jQuery] Re: Validate() and

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread bbuchs
In simple terms, you need to "move" the content from the TinyMCE control to the textarea for validation. $('button.save').click(function(){ if (tinyMCE) tinyMCE.triggerSave(); }); http://wiki.moxiecode.com/index.php/TinyMCE:Functions#tinyMCE.triggerSave On Jun 7, 7:36 am, Jörn Zaeffe

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread Jörn Zaefferer
Diego A. wrote: I don't use TinyMCE but I have a similar problem with FCKEditor and Codepress (both JS based rich-text editors). Usually, these RT editors update the contents of the field/textarea element just before the form is submitted, which probably happens after your validation. I work a

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread Diego A.
I don't use TinyMCE but I have a similar problem with FCKEditor and Codepress (both JS based rich-text editors). Usually, these RT editors update the contents of the field/textarea element just before the form is submitted, which probably happens after your validation. I work around it by manual

[jQuery] Re: Validate() and TinyMCE problem

2007-06-07 Thread Jörn Zaefferer
> Has anyone found a way around this? Do I have to validate() the TinyMCE input iframe(?) rather than the text box? Could you post an example page? -- Jörn Zaefferer http://bassistance.de