<script>function goto_page()
{
document.getElementById("href_goto_url").setAttribute("href","/show.php?start="+(page_no-1)*1);
if(window.opener)parent.location.href=document.getElementById("href_goto_url").getAttribute("href");
document.getElementById("href_goto_url").click();
}
<input type=text size=3 name=page_no value=2 class=SmallInput οnkeypress="input_page_no()" style='text-align:center;'>
<input type=button value=转到 class=SmallButton οnclick="goto_page();">
<a id="href_goto_url" href="" style="display:none;"> </a>
兼容 ie, ff ,chrome