The forum operates in read-only mode. Please head to StackOverflow for support.
$("#alerts").before($("div.demo"))
Possible and quite stable workaround would be getting data from editor and pushing it to new instance, if you want to have it in other place.
Re: FireFox:Editor lost input data,when use "jQuery before&
Re: FireFox:Editor lost input data,when use "jQuery before&
ticket #4398
Re: FireFox:Editor lost input data,when use "jQuery before&