摘要: 1)创建新标签 2)判断是否包含某个文字 $('p').each(function(){if($(this).text().indexOf('good')==0){console.log(这里面没有good这个单词)}else {console.log(这里有good)$(this).prepend 阅读全文
posted @ 2017-10-15 17:27 forjie 阅读(1635) 评论(0) 推荐(0)