Answer the question
In order to leave comments, you need to log in
How to move an element on the fly using jquery?
There is this code:
<div class="information_item">
<div class="resume_item">
<div class="resume_description">
<u>О Нас</u>
<strong>Информация</strong>
</div>
<p>Lorem ipsum</p>
<a href="#" class="popup_content">Читать</a>
</div>
<div class="hidden">
<div class="information_text">
<div class="modal-box-content">
<button class="mfp-close" type="button" title="Закрыть (Esc)">×</button>
<div class="section_header">
<!-- <u>О Нас</u> Нужно скопировать сюда -->
<div class="s_descr_wrap">
<div class="s_descr">
<!-- <strong>Информация</strong> Нужно скопировать сюда -->
</div>
</div>
</div>
<p>Lorem ipsum</p>
</div>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Everything works both through .before() and .html() https://jsfiddle.net/yx831nbw/
And through .append() and .prepend() https://jsfiddle.net/yx831nbw/1/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question