Hello all,
in need to insert a existing dom element behind the mother dom.
For Example:
<div id="foo">
<div class="element_to_insert_after_foo"></div>
</div>
After Insert:
<div id="foo"></div>
<div class="element_to_insert_after_foo"></div>
I tried as follow but nothing happens:
var myDiv = $$('element_to_insert_after_foo');
Element.insert($('foo'), {'after':myDiv} );
Thanks for help!
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.