jQuery re-attaching a div

Hello all,

I have detached a div and want to re-attach it by clicking on a button.
Here’s the code…

$(’#wrapper’).detach();

$("#open_menu").click(function(){
/* Add something here to re-attach #wrapper */
});

Any help will be appreciated.

Regards,

neuhaus3000