当前位置:Gxlcms > JavaScript > JS对象转换为Jquery对象示例

JS对象转换为Jquery对象示例

时间:2021-07-01 10:21:17 帮助过:1人阅读

代码如下:

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

人气教程排行