title: Get the value of: e.target.parentElement.parentElement.childNodes[1]
body: <p>I have this element in the DOM, which I can read by using this:</p>
  <pre><code>e.target.parentElement.parentElement.childNodes[1]
  </code></pre>
  <p>It renders as this (in the console):</p>
  <pre><code>e.target.parentElement.parentElement.childNodes[1]
  &lt;td&gt;​
  &quot;
                                  1
                                  &quot;
  &lt;input length=​&quot;9&quot; data-val=​&quot;true&quot; data-val-number=​&quot;The field TarriffID must be a number.&quot; data-val-required=​&quot;The TarriffID field is required.&quot; id=​&quot;TarriffID&quot; name=​&quot;TarriffID&quot; type=​&quot;hidden&quot; value=​&quot;44&quot;&gt;​
  &lt;/td&gt;​
  </code></pre>
  <p>This is the Markup for it:</p>
  <pre><code>&lt;tbody id=&quot;TarriffsGrid&quot;&gt;
                  @if (Model.ContractTarriffsList.Count != 0)
                  {
                      foreach (var tarriff in Model.ContractTarriffsList)
                      {
                          var count = 1;
  
                          &lt;tr&gt;
                              &lt;td&gt;
                                  @(count.ToString(CultureInfo.InvariantCulture))
                                  @Html.Hidden(&quot;TarriffID&quot;, tarriff.TarriffID.ToString(CultureInfo.InvariantCulture), &quot;TarriffID&quot;)
                              &lt;/td&gt;
                              &lt;td&gt;
                                  @(Math.Round(tarriff.ExcessValue, 2))
                              &lt;/td&gt;
                              &lt;td&gt;
                                  @(Math.Round(tarriff.Rate, 2))
                              &lt;/td&gt;
                              &lt;td&gt;
                                  &lt;input type=&quot;radio&quot; name=&quot;radioInput&quot; id=&quot;radioInput&quot; class=&quot;tarriffRadioButton&quot; /&gt;
                              &lt;/td&gt;
                          &lt;/tr&gt;
  
                          count++;
                      }
                  }
              &lt;/tbody&gt;
  </code></pre>
  <p>I would like to get the value of (44), but this is not happening with any of the following variations:</p>
  <pre><code>e.target.parentElement.parentElement.childNodes[1].val();
  e.target.parentElement.parentElement.childNodes[1].val;
  e.target.parentElement.parentElement.childNodes[1].value;
  e.target.parentElement.parentElement.childNodes[1].value();
  e.target.parentElement.parentElement.childNodes[1].text;
  e.target.parentElement.parentElement.childNodes[1].innerText;
  </code></pre>
  <p>...etc.</p>
  <p>What could possibly be the solution here please?</p>