contains 精确匹配

来源:互联网 发布:mac 日历垃圾 编辑:程序博客网 时间:2024/05/18 03:14
var firstoption =$("a:contains('1')").map(function(){                if ($(this).text() == "1") {                    return this;                }            });
a标签为1的内容
0 0
原创粉丝点击