I ended up fixing the issue myself. For those that want to know, it
was type-casting issue. I change the following line:


>    var pageIndex = $("body").attr("id");    // Pulls ID value from body tag
>    pageIndex = pageIndex.substring(4);

to

var pageIndex = $("body").attr("id");    // Pulls ID value from body
tag
 pageIndex = parseInt(pageIndex.substring(4)); // Extracts Index from
value

Hopefully, this saves someone else a huge headache...

Reply via email to