Hi Folks

I am trying use inline TinyMCE with Jquery.

http://wiki.moxiecode.com/examples/tinymce/installation_example_05.php

I follow instructions to make Jquery work with Other Libraries and its
working.

When I try manipulate elements into the inline doesnt work.

If I print the script into "inline page" (when inline page is load).
        I cant bring elements outside of inline (from my original DOM).

After inline load
        I can manipulate my DOM but cant manipulate "inline DOM"

Ho can you see one moment I can manipulate "inline DOM" but not "original
DOM" and after I can manipulate "original DOM"  but not "inline DOM".

    <script type="text/javascript">
        jQuery.noConflict(); var $j = jQuery;

        $j(document).ready(function() {
            var myvar = $j(".MyClassFromOriginalDOM").text()
            $j('#MyIdOnInlineDOM').append($j("#OtherIdOnInlineDOM").text());
<== works
            $j('#MyIdOnInlineDOM').append(myvar); <== doesnt works when
inline page load but after $j(".MyClassFromOriginalDOM").text() works
        });
    </script>

Why? Ideas? I am missing something

Regards

-- 
Mário Moura

Reply via email to