zl程序教程

您现在的位置是:首页 >  前端

当前栏目

JS对象转换为Jquery对象实现代码

2023-06-13 09:15:14 时间
复制代码代码如下:

$(document.getElementsByTagName("a")).each(function(){
if($(this).text()=="jquerys"){
$(this).addClass("navTitle");
}
});