N
N
Nick Bukovskiy2017-10-20 13:00:44
JavaScript
Nick Bukovskiy, 2017-10-20 13:00:44

How do I get the .pver of a nested element?

<tr>

<th>HTML</th>
 <th class="th-width-tb"><div class="value-tb"><div class="value-box-tb" style="width: 95%;"></div></div></th>
<th class="info-counter">95</th>

 </tr>


How can I get the value of #value-box-tb via #info-counter?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Michael, 2019-07-20
@FreedJustine

Because objects cannot be compared by value, every object is not equal to "same"

[ '120', '11', '12', '22' ] [ '120', '11', '12', '22' ]
false

S
Stimulate, 2017-10-20
@sonterix

https://jsfiddle.net/qn20x7mL/3/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question