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);
$("#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>
Source: https://ru.stackoverflow.com/questions/509775/More articles:Php drop-down listWhat encoding should be used to make the application platform-independent?How to get the link to Toolbar in FragmentPagerAdapter?Could not pass variable value in pythonCustom PHP code filteringprintf and \ 0 line endingUpstart does not start nginxGet a random double number at a given intervalBitrix: Displays the description of the product catalog in another templateThe first launch of the application after installation lasts 30 secondsAll Articles