$('input').insertAfter('.inform');
<script type="text/javascript" src="http://yandex.st/jquery/1.4.4/jquery.min.js"></script> <div class="form-1"> <input type="submit" id="btn-1"> <div class="form">Нажми</div> </div> <div class="form-2"> <input type="submit" id="btn-2"> <div class="form">Нажми</div> </div> <div class="form-2"> <input type="submit" id="btn-2"> <div class="form">Нажми</div> </div> <script type="text/javascript"> $("div.form").parent().each(function() { $(this).find("div.form").prependTo(this) }); </script>