How to get a "prize sector"? My version does not work, already confused in these brackets

<tr id="tr-345"> <th></th> <th></th> <th>Сектор приз</th> <th></th> </tr> console.log($("tr#tr-345":nth-child(4)).value); 

    1 answer 1

     $("#output").text($("#tr-345 th:nth-child(3)").text()); 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <table> <tr id="tr-345"> <th></th> <th></th> <th>Сектор приз</th> <th></th> </tr> </table> Output:<span id="output"></span>