]>
git.datanom.net - qtadmin.git/blob - js/forms.js
1 /* vim: set ts=4 tw=4 sw=4 noet: */
3 function updateRowsPerPage() {
4 var rowsPerPage
= document
.getElementById("rows");
6 var link
= document
.getElementsByTagName('a');
7 for (var i
= 0; i
< link
.length
; i
++) {
8 var url
= link
[i
].href
;
9 var pos
= url
.search('rowsperpage');
12 var base
= url
.slice(0, pos
);
13 alert('base: ' + base
);
17 /* current page has rows < current rows per page */
18 var href
= location
.href
;
19 href
= href
+ '?rowsperpage=' + rowsPerPage
.value
;
This page took 0.121021 seconds and 6 git commands to generate.