HTML 내에서 특정 텍스트를 선택합니다 :사용의 jQuery .filter는() 사업부
<p class="greeting">
hello, my name is kevin. what's yours?
</p>
jQuery를 :
$("p.greeting").filter(function(){
return $this.text() === "my name is";
}).css("background", "green");
나는 단어를 분리하기 위해 노력하고있어를 <p class="greeting">
태그에 "내 이름은" . jQuery가 작동하지 않는 것처럼 누군가 도와 줄 수 있습니까? 감사.
가능한 복제본 http://stackoverflow.com/questions/926580/find-text-string-using-jquery – motoxer4533