Javascript examples for jQuery:Selector
Select by element title value
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.js"></script> <script type="text/javascript"> $(window).load(function(){/*from w ww . ja v a2 s. c o m*/ $(document).ready(function(){ $("[title=\"CAPPLLOCAL\"]").css("background-color","red"); }); }); </script> </head> <body> <div title="CAPPLLOCAL"> Value </div> </body> </html>