Javascript examples for jQuery:Text
find and elements like this <p>text</p>
<html> <head> <script src="https://code.jquery.com/jquery-latest.js"></script> </head> //from w ww . j a va 2s .c o m <body> <div> AAA </div> <div> VVV </div> <div> QQQ </div> <div> RRR </div> <script> $("div:contains('AAA')").css("text-decoration", "underline"); </script> </body> </html>