求助!!请问这种JS分页怎么写插件!
请问这种JS分页怎么写插件!<script language="JavaScript">function NextAction(act){
if(act == "first"){
document.theForm.curpage.value = "1";
document.theForm.submit();
}
if(act == "pre"){
document.theForm.curpage.value = ""+(parseInt(document.theForm.curpage.value)-1);
document.theForm.submit();
}
if(act == "next"){
document.theForm.curpage.value = ""+(parseInt(document.theForm.curpage.value)+1);
document.theForm.submit();
}
if(act == "end"){
document.theForm.curpage.value = ""+(parseInt(document.theForm.totalpage.value));
document.theForm.submit();
}
}
function changeP(obj)
{
document.theForm.curpage.value = obj.value;
document.theForm.submit();
}
function showReplyCount(){
document.theForm.submit();
}
</script>
你提供的这些内容好像没有什么用 回复 2# 272070210
??? 你提供的这些代码没有办法判断怎么弄。如果有需要可以联系我定制。 这个我也判断不了。,
页:
[1]