this is it

tinyMCE.activeEditor.contentDocument.body.innerHTML

lucky shot ^^

On 12 Aug., 11:09, Tomfox Wiranata <tomfox.wiran...@gmail.com> wrote:
> hi everyone,
>
> basically I can't read the text entered in a textare, when tinymce is
> activated. without tinymce i read the text like this with jquery:
>
> var temp =  $('#notes_title').val();    //  notes_title is the id from
> the textarea
>
> then i pass this text to my controller function "processtitle":
>
> ......load('processtitle'. {test: temp}).........
>
> well that works perfectly.
>
> but as soon as i activate tinymce i cant access the content of the
> textarea.
>
> i implement tinymce like that in my view in the <head> section
>
> echo $javascript->link('path_to_tiny_mce.js')
>
> <script type=”text/javascript”>
> tinyMCE.init({
> mode : “textareas”,
> theme: "advanced",
> convert_urls: false});
>
> </script>
>
> i guess tinymce is doing sth with my textarea and i need to access it
> differently. if i just knew how...googled forever and did help..
>
> thanks a lot

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to