Sachin Sachin - 4 months ago 26x
jQuery Question

Find Total Page count in Wowbook jQuery flipbook plugin

I am trying to integrate the jquery flipbook in my page (built with mvc). I have selected jQuery WowBook plugin for the same. (here is the documentation) Now I have integrated major all but one thing I am trying to find but I can't. I have one textbox in which user can enter page number and that page will be opened. I know that we can go to any page by

I want to find Total Page Number or Last Page number so that I can validate entering maximum page number.

Does any one can help me? Thanks in advance..


The documentation says:

var book = $.wowBook("#some_element");

alert("This book has "+book.pages.length+" pages.");