我自己手写了一个jquery的分页查询,写得比较粗糙的那种,在ie6,ie8都可以实现功能,在ie7下就出了问题,请问大家有没有遇到类似的情况,遇到后该怎么去解决?大致的原因是什么
下面是分页的一个方法//分页查询
function GoToPage(page) {
    page = parseInt(page) > parseInt(pagCount) ? pagCount : page;
    $(".page").html(Loading());
    $("#Info").css({ display: "none" });
    $.ajax({
        url: "GotoPage.aspx",
        type: "get",
        dataType: "json",
        cache: false,
        data: "page=" + page,
        timeout: 30000,
        error: function() {
            ymPrompt.errorInfo({ message: "没有找到您要查看页的数据!", title: "警告", height: 120, width: 420 });
            $(".page").html("");
        },
        success: function(msg) {
            $("#PostChicun").attr({ "disabled": "disabled" });
            $("#Info").css({ display: "block" });
            var data = msg.Table1;
            //循环json数组                    
            var row = new StringBuilder();
            $.each(data, function(i, n) {
                if (n.CS.indexOf("接口排线") == 0) {
                    if (Xuanzhong == "0") {
                        row.Append(loadPage(n.TP, n.TPG, n.TPCC, n.YS, n.BZ1, n.BZ2, n.XH, n.CS, n.BM, n.ZT));
                    }
                }
                else {
                    row.Append(loadPage(n.TP, n.TPG, n.TPCC, n.YS, n.BZ1, n.BZ2, n.XH, n.CS, n.BM, n.ZT));
                }
            });
            $("#LoadPage").html(row.ToString());
            $(".cc").html(hou == 0 ? "无" : (hou + " " + kuan + " " + changdu));
            $(".cd").html(chudian = "" ? "无" : chudian);
            $(".cb").html(chang = 0 ? "无" : chang);
            $(".db").html(duan = 0 ? "无" : duan);
            $(".page").html(NexPage(10, page, 100));
            var json = eval(msg.page);
            $(".page").html(NexPage(json[0].CP, json[0].PG, json[0].CN));
            pagCount = json[0].CP;
        }
    });
}