I'm trying to use this plugin here botepage
The problem is that I can not insert any content inside the divs, on page 1 for example say that I want to put "hello" on page 2 say that I want to put "hi" as I do to assign page 2 to div two, page 1 to div one, and so on ??
follow my code
<script>
// init bootpag
$('#page-selection').bootpag({
total: 10,
page: 1
}).on("page", function(event, /* page number here */ num){
$("#content").html("page" + num ); // some ajax content loading...
});
</script>
<div id="content">
<div id="um">
<h1>ola</h1>
</div>
<div id="dois">
<h1>oi</h1>
</div>
</div>
<div id="page-selection">Pagination goes here</div>
And here is the result of this code on my site
As you can see the two divs, they appear at the same time as the div instead of one, appear on page 1 and div two appear on page 2