title: UIWebView Text Highlighting solution
body: <p>Has anyone found a solution for highlighting <strong><em>user-selected</em></strong> blocks of text in a UIWebView?</p>
  
  <p>I have a partial solution in place, however I have been unable to get it to work when the selection includes multiple elements in the DOM.  In that case, I can find and highlight the first element in the selection, but javascript seems unable to tell me where the end of the selection is in this case.  </p>
  
  <p>It may be that I just don't understand the selection objects completely.  It's difficult to find good documentation on them.</p>