PClib demo site

<?elements
class form name "pagerform" route "pagergrid"
input page lb "Select page:" size "2" default "1"
select pglen list "10,10,20,20,40,40" noemptylb
string maxpage
string pages noescape
string first
string last
?>

{page} of {maxpage} pages {pglen} rows per page {pages} {first} {last}
<script>
//$('#page').change(function() { this.form.submit() });
document.getElementById('pglen').onchange = function() { this.form.submit() };
</script>

Elapsed time: 0.92 ms