Is there a nice way in Ext to move elements in DOM? I want to move element 'iShouldBeInsideTheBox' inside the 'box' element and then back to it's original location in between two p elements:
<p> surrounding text </p> <p id="iShouldBeInsideTheBox"> This should be inside the box </p> <p> surrounding text </p> <p id="box"> Some content in the box </p>
It took me four lines to do that in jQuery (fiddle: http://jsfiddle.net/F2PXw/19/), but I can't think of easy ways to do that in Ext (or pure JS if it's reliable).
what version do you want ??
ext 4.0.7 : http://jsfiddle.net/mohammad_erdin/cdLPA/
but, should work in old version...
never try : )
one more thing:
Please look carefully, the different between
there is no
# char in