Determine element left of cursor in JavaScript
<p>Is it possible determine the character on the left of the cursor's current position?</p>

<p>Basically if the cursor is at, <code>x-45</code> I'd like to determine if it's prefixed by a <code>{</code> character.</p>
