JS对象转换为Jquery对象

来源:互联网 发布:人民大学网络教育 编辑:程序博客网 时间:2024/06/05 22:02
$(document.getElementsByTagName("a")).each(function () {
                if ($(this).text() == "jquerys") {
                    $(this).addClass("navTitle");
                }
  });
0 0
原创粉丝点击