[jQuery] Using $.load() and $.blockUI [blockUI.js]

[jQuery] Using $.load() and $.blockUI [blockUI.js]


Hi all,
how I can add content from div to div?
For example, I have code:
......
<script type="text/javascript">
<!--
$(document).ready(function() {
$("#showDialog").click(
function()
{
$("#container").load('wait.php?ID=374&NUMBER=1');
$.blockUI({
message: $("#approve"),
css:{width:"275px"}
});
}
);
$("#yes").click(function() {
$.unblockUI({fadeOut:200});
$.blockUI({message: "<h1>Remote call in progress...</h1>"});
});
$("#no").bind("click", $.unblockUI);
}
);
// -->
</script>
.....
<body>
<div id="container" style="display:none;"></div>
<div id="approve" style="display:none; cursor: default">
<p id="buttons">
<input type="button" id="yes" value="Yes">
<input type="button" id="no" value="No">

</div>
<input id="showDialog" type="submit" value="Show Dialog">
</body>
My task is:
On click button load result from file wait.php (where I make some
requests to DB), block page ($.blockUI), load result from wait.php and
merge it with #approve div. In code
$.blockUI({
message: $("#approve"),
css:{width:"275px"}
});
I need merge #approve div and #container div. I try .append, .appendTo
and it's not help.
How I can do it?
Thanks a lot.