Hello guys!
I have this html node:
<div id="wgroup"> <div id="w1"> <textarea id="ckeditor-1"> </textarea> </div> <div id="w2"> <textarea id="ckeditor-2"> </textarea> </div> </div> |
when I want to put 'w1' on top by javascript code:
var divEl = document.getElementById('w1'); divEl.parentNode.appendChild(divEl); |
CKEditor (id - 'ckeditor-1') stops working (text getting blank, buttons are not responding)...
How to solve this?
P.S. Numbers of 'w' is dynamic.
Thanks forward, for any reply!