if (found == false) {
/* current page has rows < current rows per page */
var href = location.href;
- href = href + '?rowsperpage=' + rowsPerPage.value;
- location.href = href;
+ href = 'index.php?rowsperpage=' + rowsPerPage.value;
+ alert(href);
+ window.location.href = href;
}
}