title: window.find() in Firefox vs Chrome
body: <p>I am using window.find() method to find a space and highlight the same programmatically.
       <code>window.find(' ');</code>
  This is acting very differently in Chrome compared to firefox.</p>
  
  <p>In firefox it finds and highlights the character immediately after the current caret position. Where as in Chrome it finds from 0th position and always highlights the first space in the window. Any solution how we can get this working like Firefox? Or any Jquery equivalent for this so that it can work independent of browser?</p>