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