js 下一页

function jump( jpage ){
    if( '' == trim( jpage )){
        alert( pepn );
        return false;
    }
    page_obj       = document.forms.page_form.elements.curr_page;
    if( parseInt(jpage,10) < 1 ){
        page_obj.value = 1;
    }
    else if( parseInt(jpage,10) > parseInt(document.forms.page_form.elements.total_page.value,10) ){
        page_obj.value = document.forms.page_form.elements.total_page.value;
    }
    else{
        page_obj.value = jpage;
    }
 document.forms.page_form.fromType.value = 14;
    document.forms.page_form.target = "_self";
    document.forms.page_form.submit();
}

你可能感兴趣的:(js 下一页)