title: How to get the value of a div in AutoIt?
body: <p>In this case I want to get a specific value of the last div from this list:</p>
  
  <pre><code>&lt;div id="past"&gt;
      &lt;div class="ball ball-8" data-rollid="242539"&gt;11&lt;/div&gt;
      &lt;div class="ball ball-8" data-rollid="242540"&gt;11&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242541"&gt;3&lt;/div&gt;
      &lt;div class="ball ball-8" data-rollid="242542"&gt;11&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242543"&gt;5&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242544"&gt;2&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242545"&gt;7&lt;/div&gt;
      &lt;div class="ball ball-8" data-rollid="242546"&gt;14&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242547"&gt;4&lt;/div&gt;
      &lt;div class="ball ball-1" data-rollid="242548"&gt;3&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I just want to get the outerText from the last entry of this block. In this case it would be 3 with <code>rollid="242548"</code>.
  How could I get this value?
  I tried:</p>
  
  <pre><code>$lasts = _IETagNameGetCollection($create, "div")
      For $last In $lasts
      If String($last.id) = "past"  And String($last.innerText) = "242548" Then
          $get = _IEGe
          MsgBox(0,"","")
      $outer = $last.outerText
      GUICtrlSetData( $labellast, $outer)
      EndIf
      Next
  </code></pre>
  
  <p>but it doesn't work.
  Any suggestions?</p>