jquery实现文字选择器时间:2023-03-09 13:32:14 $( "div:contains('John')" ).css( "text-decoration", "underline" );