<form action="">
<input type=text>
<input type=hidden name="page" value="1">
<input type="submit" value="1" onclick="this.form.page.value='1';" />
<input type="button" value='2' onclick="this.form.page.value='2';this.form.submit ()" />
<input type="button" value='3' onclick="this.form.page.value='3';this.form.submit ()" />
</form>