I have to append 2 div to new div:
<script type="text/javascript">
$(function() {
$( "#table-filter_wrapper" ).append($( "<div class='main_tbl_btm_info'></div>" ));
$( "#table-filter_info" ).appendTo( $( ".main_tbl_btm_info" ));
$( "#table-filter_paginate" ).appendTo( $( ".main_tbl_btm_info" ));
});
</script>
The problem is that it can't find table-filter_wrapper at ready.
When I use alert before append then it works.
How can I get that table-filter_wrapper is loaded or not.