Update classes of pagination not working anymore after move elements

Update classes of pagination not working anymore after move elements

netfastnetfast Posts: 1Questions: 0Answers: 0
edited October 2011 in Plug-ins
Hi,

I have this problem I cannot seem to fix.
I have the pagination plugin with DataTables. It displays the pagination just fine, also woring without problems.

When all that was working I wanted the pagination on a different part on the page, so I used some jQuery to append the div to another container on the page. Then the problems started. The buttons still work fine, but they dont update anymore when I browse the pages.

I am probably doing something wrong here, but cannot find a solution... :(

This is How I move the pagination to another div container:
[code]
$("#div_paging").append($("#el_first"));
$("#div_paging").append($("#el_previous"));
$("#div_paging").append($("#el_next"));
$("#div_paging").append($("#el_last"));
[/code]

Who can give me a hint where to look?

Thanks!
This discussion has been closed.