$(document).ready(function()
{
$('#remove').click(function()
{
$('.test').remove();
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="test-wraper">
<div class="test">
test
</div>
<div class="test2">
test2
</div>
</div>
<button id='remove'>Remove</button>
<button id='back'>Back</button>
Is there a way to bring back the .test
div using jQuery after it has been removed?