Updating a textfield via JavaScript forces cursor to the end
<p>I am using a JavaScript (<code>jQuery</code>) function to force uppercase in a textfield. The problem is that if a user types, then tried and use the arrow keys, or clicks into the start of the field and types again, it forces the cursor back to the end of the textfield.</p>

<p>See the following jsFiddle: <a href="http://jsfiddle.net/Msh7P/1/" rel="nofollow">http://jsfiddle.net/Msh7P/1/</a></p>

<p>Type anything, then try and use the left arrow key, or click to the start of the textfield and type.</p>

<p>How can I fix this? Thanks.</p>
