title: jquery: get text between two <br> elements
body: <p>i've got a HTML tree like this:</p>
  
  <pre><code>&lt;pre id="code_block"&gt;
      This is line 1&lt;br&gt;
      This is line 2&lt;br&gt;
      This is line 3&lt;br&gt;
      This is line 4&lt;span id="marker"&gt;&lt;/span&gt;&lt;br&gt;
      This is line 5&lt;br&gt;
      This is line 6&lt;br&gt;
      ...
  &lt;/pre&gt;
  </code></pre>
  
  <p>now, i need to get the text of the line where the marker span resists in...
  i already have the two elements (leading &lt; br> and &lt; span>) </p>
  
  <pre><code>$('#marker');
  $('#marker').prev('br');
  </code></pre>
  
  <p>but how to get the text between these?</p>
  
  <p>I've already tried several solutions<br>
  but the problem is that the text between the two elements is not an own element...</p>
  
  <p>ideas?</p>