且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用jQuery更改链接的标题

更新时间:2023-12-02 09:54:58

使用 html 功能:

$('#link').html(text);

或者,如果你在讨论title属性:

or , if you are talking about the title attribute:

$('#link').attr('title','some title');