title: Getting cursor position in a Textarea
body: <p>I am trying to implement Autocomplete in a text area (similar to <a href="http://www.pengoworks.com/workshop/jquery/autocomplete.htm" rel="nofollow noreferrer">http://www.pengoworks.com/workshop/jquery/autocomplete.htm</a>).</p>
  
  <p>What I am trying to do is when a user enters a specific set of characters (say insert:) they will get an AJAX filled div with possible selectable matches.</p>
  
  <p>In a regular text box, this is of course simple, but in a text area I need to be able to popup the div in the correct location on the screen based on the cursor.</p>
  
  <p>Can anyone provide any direction?</p>
  
  <p>Thanks,
  -M</p>