0

实际上,我想要的只是#lastTab在 Asp.NET 中由 DataPager 控件呈现的链接的末尾添加。

由于我喜欢NumericalField诸如“1 2 3 ...”之类的内容,因此我不想弄乱默认实现。

有人可以帮助我吗?

谢谢。

4

1 回答 1

0

好,

我不想诉诸,jQuery and javascript但他们是最后的机会。

这是代码:

    $("#ctl00_HomeMasterContentPlaceHolder_printReviews_printReviewPager a").each(function (index, value) {
        if ($(this).attr("href") != "undefined")
            $(this).attr("href", $(this).attr("href") + "#last");
    });

他们最终解决了一切。

谢谢。

于 2011-01-05T19:27:41.007 回答